From 1877fd6e15e529b024e12117d76e24ca35586be3 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 18 Aug 2016 15:47:23 +0000 Subject: [PATCH] Drop redundant == --rrl_none evaluation, noted by rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756823 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/protocol.c b/server/protocol.c index 068055e934..55df5f09ba 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -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"))) { -- 2.50.1