From: David Kalnischkies Date: Sun, 4 Mar 2012 23:20:28 +0000 (+0100) Subject: fix "(style) Checking if unsigned variable 'Minor' is less than zero." X-Git-Tag: 0.9.0~13^2~8 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/deb0d61de51d2e30b224720a7c90ff7a6413a346?hp=--cc fix "(style) Checking if unsigned variable 'Minor' is less than zero." --- deb0d61de51d2e30b224720a7c90ff7a6413a346 diff --git a/methods/http.cc b/methods/http.cc index 7979af299..135771643 100644 --- a/methods/http.cc +++ b/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;