]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added parentheses for clarity.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 24 Aug 2010 03:56:20 +0000 (21:56 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 24 Aug 2010 03:56:20 +0000 (21:56 -0600)
src/HttpVersion.h

index 4b90a8c811fd9dff744b3ed368df35d4fdb49bf5..ed60074b0f1cc3c7bd7e58a53c8a9718d1398445 100644 (file)
@@ -68,12 +68,12 @@ public:
 
     bool operator <(const HttpVersion& that) const {
         return (this->major < that.major ||
-                this->major == that.major && this->minor < that.minor);
+                (this->major == that.major && this->minor < that.minor));
     }
 
     bool operator >(const HttpVersion& that) const {
         return (this->major > that.major ||
-                this->major == that.major && this->minor > that.minor);
+                (this->major == that.major && this->minor > that.minor));
     }
 
     bool operator <=(const HttpVersion& that) const {