Browse Source

[master] All chars are <= 127 shouts g++

Francis Dupont 8 years ago
parent
commit
d82049be04
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/http/request_parser.cc

+ 2 - 1
src/lib/http/request_parser.cc

@@ -630,7 +630,8 @@ HttpRequestParser::popNextFromBuffer(char& next) {
 
 
 bool
 bool
 HttpRequestParser::isChar(const char c) const {
 HttpRequestParser::isChar(const char c) const {
-    return ((c >= 0) && (c <= 127));
+    // was (c >= 0) && (c <= 127)
+    return (c >= 0);
 }
 }
 
 
 bool
 bool