Преглед изворни кода

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

David Kalnischkies пре 14 година
родитељ
комит
deb0d61de5
1 измењених фајлова са 1 додато и 1 уклоњено
  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;