]> granicus.if.org Git - apache/commitdiff
Drop redundant == --rrl_none evaluation, noted by rpluem
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 18 Aug 2016 15:47:23 +0000 (15:47 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 18 Aug 2016 15:47:23 +0000 (15:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756823 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 068055e934a16903c7952eab9a870cfe724b876b..55df5f09ba06b85575eaba0ee4178b46d9c5200f 100644 (file)
@@ -680,8 +680,7 @@ static int read_request_line(request_rec *r, apr_bucket_brigade *bb)
         goto rrl_done;
     }
     for (r->protocol = ll; apr_isspace(*r->protocol); ++r->protocol) 
-        if (strchr(badwhitespace, *r->protocol) && deferred_error == rrl_none
-                && deferred_error == rrl_none)
+        if (strchr(badwhitespace, *r->protocol) && deferred_error == rrl_none)
             deferred_error = rrl_badwhitespace; 
     *ll = '\0';
     if (!(ll = strpbrk(r->protocol, " \t\n\v\f\r"))) {