From 9fb9fea63351cff0e664b28636acb3c3e1f84721 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 3 Sep 2011 07:40:49 +0200 Subject: Improve error reporting in a minor way Signed-off-by: Martin Sustrik --- src/tcp_connecter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tcp_connecter.cpp') diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp index 00eb5f6..487f4f5 100644 --- a/src/tcp_connecter.cpp +++ b/src/tcp_connecter.cpp @@ -59,7 +59,7 @@ zmq::tcp_connecter_t::tcp_connecter_t (class io_thread_t *io_thread_, // TODO: set_addess should be called separately, so that the error // can be propagated. int rc = set_address (address_); - zmq_assert (rc == 0); + errno_assert (rc == 0); } zmq::tcp_connecter_t::~tcp_connecter_t () -- cgit v1.2.3