]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
silence if assignment warning
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 25 Jul 2011 13:15:24 +0000 (15:15 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 25 Jul 2011 13:15:24 +0000 (15:15 +0200)
src/cache_cf.cc

index 58019d78aae12431e8ad051658b1dd1173779bd7..d2989db00a606aa35cefae109351ba68910873da 100644 (file)
@@ -3518,7 +3518,7 @@ parse_http_port_specification(http_port_list * s, char *token)
         if (!Ip::EnableIpv6)
             s->s.SetIPv4();
         debugs(3, 3, "http(s)_port: found Listen on wildcard address: *:" << s->s.GetPort() );
-    } else if ( s->s = host ) { /* check/parse numeric IPA */
+    } else if ( (s->s = host) ) { /* check/parse numeric IPA */
         s->s.SetPort(port);
         if (!Ip::EnableIpv6)
             s->s.SetIPv4();