From d16e0a534263eb80331b4b79c583b16e726a58dd Mon Sep 17 00:00:00 2001 From: Martin Hurton Date: Tue, 30 Oct 2012 11:03:41 +0100 Subject: [PATCH] Resolve LIBZMQ-458 Ref: https://zeromq.jira.com/browse/LIBZMQ-458 --- tests/test_router_mandatory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_router_mandatory.cpp b/tests/test_router_mandatory.cpp index a330f9b5..fe6ea257 100644 --- a/tests/test_router_mandatory.cpp +++ b/tests/test_router_mandatory.cpp @@ -50,7 +50,7 @@ int main (void) // Send a message and check that it fails rc = zmq_send (sa, "UNKNOWN", 7, ZMQ_SNDMORE | ZMQ_DONTWAIT); - assert (rc == -1 && errno == EAGAIN); + assert (rc == -1 && errno == EHOSTUNREACH); rc = zmq_close (sa); assert (rc == 0);