From 718885fdcd7af797f940078ca8c22aebab93c8bb Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 26 May 2011 11:30:25 +0200 Subject: Pending messages are delivered even if connection doesn't exist yet Bug in previous refactoring fixed. Signed-off-by: Martin Sustrik --- src/tcp_socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tcp_socket.cpp') diff --git a/src/tcp_socket.cpp b/src/tcp_socket.cpp index 2257e4f..3c9b1fd 100644 --- a/src/tcp_socket.cpp +++ b/src/tcp_socket.cpp @@ -213,7 +213,7 @@ int zmq::tcp_socket_t::read (void *data_, size_t size_) errno_assert (nbytes != -1); - // Orderly shutdown by the other peer. + // Orderly shutdown by the peer. if (nbytes == 0) return -1; -- cgit v1.2.3