summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-06-07 20:23:48 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-06-07 20:23:48 +0200
commit240fc33f65c6cd9f1ed0a511daf4ad00ff37f163 (patch)
treed8e4b0f61c6c5c2e0da9d4e80fff0be0004dc4a3 /src
parent784e73a7c84f2c0a454f4a9ef69586755482a9d5 (diff)
minor comment clarification
Diffstat (limited to 'src')
-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 17c0257..6102972 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 that the error was caused by 0MQ bug.
+ // Networking problems are OK. No need to assert.
zmq_assert (err == ECONNREFUSED || err == ETIMEDOUT);
errno = err;