summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-03-05 00:20:28 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-03-05 00:20:28 +0100
commitdeb0d61de51d2e30b224720a7c90ff7a6413a346 (patch)
treeb73f986eb0f2d938ff0b8d27f8cec61f200743ea /methods
parent74865d5d41f9d234625560ac1dd6d9863da27ac4 (diff)
fix "(style) Checking if unsigned variable 'Minor' is less than zero."
Diffstat (limited to 'methods')
-rw-r--r--methods/http.cc2
1 files changed, 1 insertions, 1 deletions
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;