You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2016/08/18 15:47:23 UTC

svn commit: r1756823 - /httpd/httpd/trunk/server/protocol.c

Author: wrowe
Date: Thu Aug 18 15:47:23 2016
New Revision: 1756823

URL: http://svn.apache.org/viewvc?rev=1756823&view=rev
Log:
Drop redundant == --rrl_none evaluation, noted by rpluem

Modified:
    httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=1756823&r1=1756822&r2=1756823&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Thu Aug 18 15:47:23 2016
@@ -680,8 +680,7 @@ static int read_request_line(request_rec
         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"))) {