stupid bug. I feel ashamed ^)

This commit is contained in:
Sergey KHripchenko 2012-04-21 07:55:54 +04:00
parent 2eb6b32ef7
commit 2faa4c487f

View File

@ -62,7 +62,7 @@ int zmq::address_t::to_string (std::string &addr_)
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
else if (protocol == "ipc") {
if (resolved.ipc_addr) {
return resolved.tcp_addr->to_string(addr_);
return resolved.ipc_addr->to_string(addr_);
}
}
#endif