diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-07-13 11:46:56 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-07-13 11:46:56 +0200 |
commit | 269904361b565efa54a106e3eda96091320439bd (patch) | |
tree | 7a536dc699746460d43442bbd8d7d6b2346e8eac /src | |
parent | da49e5a4dd4602bf893193a5e6e64af54695b51c (diff) |
minor comment clarification
Diffstat (limited to 'src')
-rw-r--r-- | src/tcp_connecter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp index 3c82d32..dee71be 100644 --- a/src/tcp_connecter.cpp +++ b/src/tcp_connecter.cpp @@ -291,8 +291,8 @@ zmq::fd_t zmq::tcp_connecter_t::connect () err = errno; if (err != 0) { - // Assert that the error was caused by the networking problems - // rather than 0MQ bug. + // Assert if the error was caused by 0MQ bug. + // Networking problems are OK. No need to assert. errno = err; errno_assert (errno == ECONNREFUSED || errno == ECONNRESET || errno == ETIMEDOUT || errno == EHOSTUNREACH); |