]> granicus.if.org Git - apache/commitdiff
Surpress noise about syntax
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 20 Aug 2016 00:53:38 +0000 (00:53 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 20 Aug 2016 00:53:38 +0000 (00:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756978 13f79535-47bb-0310-9956-ffa450edef68

server/gen_test_char.c

index ed9620fe40d6a3d7a11f091dff3066286ee46cdf..5003dc29628bbbcc95bb9faedd1f38e2aebb3eb4 100644 (file)
@@ -143,9 +143,9 @@ int main(int argc, char *argv[])
          * and unreserved (2.3) that are possible somewhere within a URI.
          * Spec requires all others to be %XX encoded, including obs-text.
          */
-        if (c && strchr(":/?#[]@"                       /* gen-delims */ 
-                        "!$&'()*+,;="                   /* sub-delims */
-                        "-._~", c) || apr_isalnum(c)) { /* unreserved */
+        if (c && (strchr(":/?#[]@"                        /* gen-delims */ 
+                         "!$&'()*+,;="                    /* sub-delims */
+                         "-._~", c) || apr_isalnum(c))) { /* unreserved */
             flags |= T_URI_RFC3986;
         }