summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-09-03 07:40:49 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-09-03 07:40:49 +0200
commit9fb9fea63351cff0e664b28636acb3c3e1f84721 (patch)
treef94af51170fc3179e2f362792fee67c219d8f3de /src/tcp_connecter.cpp
parent8b7ac4c2a9c3ede95d6f5f9717a1939a23788964 (diff)
Improve error reporting in a minor way
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/tcp_connecter.cpp')
-rw-r--r--src/tcp_connecter.cpp2
1 files changed, 1 insertions, 1 deletions
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 ()