Explorar el Código

fix "(style) Checking if unsigned variable 'Minor' is less than zero."

David Kalnischkies hace 14 años
padre
commit
deb0d61de5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      methods/http.cc

+ 1 - 1
methods/http.cc

@@ -582,7 +582,7 @@ bool ServerState::HeaderLine(string Line)
 	 Persistent = false;
       else
       {
-	 if (Major == 1 && Minor <= 0)
+	 if (Major == 1 && Minor == 0)
 	    Persistent = false;
 	 else
 	    Persistent = true;