summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-07-13 11:46:56 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-07-13 11:46:56 +0200
commit269904361b565efa54a106e3eda96091320439bd (patch)
tree7a536dc699746460d43442bbd8d7d6b2346e8eac
parentda49e5a4dd4602bf893193a5e6e64af54695b51c (diff)
minor comment clarification
-rw-r--r--src/tcp_connecter.cpp4
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);