diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-09-03 07:40:49 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-09-03 07:40:49 +0200 |
commit | 9fb9fea63351cff0e664b28636acb3c3e1f84721 (patch) | |
tree | f94af51170fc3179e2f362792fee67c219d8f3de /src/tcp_connecter.cpp | |
parent | 8b7ac4c2a9c3ede95d6f5f9717a1939a23788964 (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.cpp | 2 |
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 () |