Przeglądaj źródła

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

David Kalnischkies 14 lat temu
rodzic
commit
deb0d61de5
1 zmienionych plików z 1 dodań i 1 usunięć
  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;