mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 16:43:58 +00:00
Merge pull request #52 from hintjens/master
Backported fixes for LIBZMQ-458
This commit is contained in:
commit
fff267071d
@ -50,7 +50,7 @@ int main (void)
|
|||||||
|
|
||||||
// Send a message and check that it fails
|
// Send a message and check that it fails
|
||||||
rc = zmq_send (sa, "UNKNOWN", 7, ZMQ_SNDMORE | ZMQ_DONTWAIT);
|
rc = zmq_send (sa, "UNKNOWN", 7, ZMQ_SNDMORE | ZMQ_DONTWAIT);
|
||||||
assert (rc == -1 && errno == EAGAIN);
|
assert (rc == -1 && errno == EHOSTUNREACH);
|
||||||
|
|
||||||
rc = zmq_close (sa);
|
rc = zmq_close (sa);
|
||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user