fix #489, Address::operator== is broken
This commit is contained in:
parent
0a8c26be52
commit
6ddabe4ead
|
|
@ -333,8 +333,8 @@ public:
|
||||||
// portnumber must match
|
// portnumber must match
|
||||||
if (_port != that._port) return false;
|
if (_port != that._port) return false;
|
||||||
|
|
||||||
// and finally the vhosts, they must match too
|
// and the vhosts, they must match too
|
||||||
if (_vhost == that._vhost) return false;
|
if (_vhost != that._vhost) return false;
|
||||||
|
|
||||||
// and the options as well
|
// and the options as well
|
||||||
return _options == that._options;
|
return _options == that._options;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue