Commit 8a3296c1 authored by Constantin Rack's avatar Constantin Rack

Solution: add missing brackets

parent f9315e19
...@@ -737,10 +737,11 @@ int zmq::socket_base_t::connect (const char *addr_) ...@@ -737,10 +737,11 @@ 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
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment