diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-05 00:20:28 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-05 00:20:28 +0100 |
commit | deb0d61de51d2e30b224720a7c90ff7a6413a346 (patch) | |
tree | b73f986eb0f2d938ff0b8d27f8cec61f200743ea /methods | |
parent | 74865d5d41f9d234625560ac1dd6d9863da27ac4 (diff) |
fix "(style) Checking if unsigned variable 'Minor' is less than zero."
Diffstat (limited to 'methods')
-rw-r--r-- | methods/http.cc | 2 |
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; |