]> granicus.if.org Git - apache/commitdiff
typo
authorJim Jagielski <jim@apache.org>
Thu, 17 Oct 2013 17:21:37 +0000 (17:21 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 17 Oct 2013 17:21:37 +0000 (17:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533170 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 50f67c68fe400cac1aae76ae38fa2dcba4e570c9..23a90516db1ed2ca92c1253885563f82315a1cb2 100644 (file)
@@ -102,7 +102,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_strncpy(char *dst, const char *src,
     thelen = thenil - dst;
     /* Assume the typical case is smaller copying into bigger
        so we have a fast return */
-    if ((thelen < dlen-1) || (src[thelen] == '\0') {
+    if ((thelen < dlen-1) || (src[thelen] == '\0')) {
         return APR_SUCCESS;
     }
     /* XXX: APR_ENOSPACE would be better */