From: Henrik Nordstrom Date: Tue, 2 Aug 2011 08:10:13 +0000 (-0600) Subject: Fix if assignment warning X-Git-Tag: SQUID_3_1_15~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1584a73e6a56c18a0275e5b8cd56b6c11e0febfa;p=thirdparty%2Fsquid.git Fix if assignment warning --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index ca0eb2320a..c47611ee4e 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -3112,7 +3112,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();