Commit 26990436 authored by Martin Sustrik's avatar Martin Sustrik

minor comment clarification

parent da49e5a4
...@@ -291,8 +291,8 @@ zmq::fd_t zmq::tcp_connecter_t::connect () ...@@ -291,8 +291,8 @@ zmq::fd_t zmq::tcp_connecter_t::connect ()
err = errno; err = errno;
if (err != 0) { if (err != 0) {
// Assert that the error was caused by the networking problems // Assert if the error was caused by 0MQ bug.
// rather than 0MQ bug. // Networking problems are OK. No need to assert.
errno = err; errno = err;
errno_assert (errno == ECONNREFUSED || errno == ECONNRESET || errno_assert (errno == ECONNREFUSED || errno == ECONNRESET ||
errno == ETIMEDOUT || errno == EHOSTUNREACH); errno == ETIMEDOUT || errno == EHOSTUNREACH);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment