Commit 952127df authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #319 from shripchenko/master

fix for: [zeromq-dev] head builds again but two failing tests
parents 653e5854 06b2eae8
......@@ -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
......
......@@ -546,7 +546,7 @@ int zmq::socket_base_t::term_endpoint (const char *addr_)
return -1;
}
// Check whether message passed to the function is valid.
// Check whether endpoint address passed to the function is valid.
if (unlikely (!addr_)) {
errno = EINVAL;
return -1;
......
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