mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-23 23:16:41 +01:00
Merge pull request #1405 from c-rack/fix-brackets
Problem: missing brackets
This commit is contained in:
commit
099fd43836
@ -737,9 +737,10 @@ int zmq::socket_base_t::connect (const char *addr_)
|
|||||||
int rc = pgm_socket_t::init_address(address.c_str(), &res, &port_number);
|
int rc = pgm_socket_t::init_address(address.c_str(), &res, &port_number);
|
||||||
if (res != NULL)
|
if (res != NULL)
|
||||||
pgm_freeaddrinfo (res);
|
pgm_freeaddrinfo (res);
|
||||||
if (rc != 0 || port_number == 0)
|
if (rc != 0 || port_number == 0) {
|
||||||
EXIT_MUTEX();
|
EXIT_MUTEX();
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if defined ZMQ_HAVE_TIPC
|
#if defined ZMQ_HAVE_TIPC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user