From 269904361b565efa54a106e3eda96091320439bd Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 13 Jul 2010 11:46:56 +0200 Subject: minor comment clarification --- src/tcp_connecter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tcp_connecter.cpp') 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); -- cgit v1.2.3