Fixed issue #451

This commit is contained in:
Pieter Hintjens
2012-10-19 15:09:52 +09:00
parent 45c063725b
commit a3889d00c3
2 changed files with 3 additions and 6 deletions

View File

@@ -162,7 +162,7 @@ int zmq::router_t::xsend (msg_t *msg_, int flags_)
else
if (mandatory) {
more_out = false;
errno = EAGAIN;
errno = EHOSTUNREACH;
return -1;
}
}