From 862eeb83d397e8a28594c4d42133d69014558254 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sat, 20 Aug 2016 00:53:38 +0000 Subject: [PATCH] Surpress noise about syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756978 13f79535-47bb-0310-9956-ffa450edef68 --- server/gen_test_char.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/gen_test_char.c b/server/gen_test_char.c index ed9620fe40..5003dc2962 100644 --- a/server/gen_test_char.c +++ b/server/gen_test_char.c @@ -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; } -- 2.50.1