mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-11 18:17:14 +01:00
Minor problems in MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -123,7 +123,8 @@ void zmq::tcp_listener_t::close ()
|
||||
int zmq::tcp_listener_t::set_address (const char *addr_)
|
||||
{
|
||||
// Convert the interface into sockaddr_in structure.
|
||||
int rc = resolve_ip_interface (&addr, &addr_len, addr_, options.ipv4only);
|
||||
int rc = resolve_ip_interface (&addr, &addr_len, addr_,
|
||||
options.ipv4only ? true : false);
|
||||
if (rc != 0)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user