From 9bd309bda6522dfdd514dd0c4edae04322c83ed1 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 1 Dec 2009 18:50:54 +0100 Subject: annoying optimisation in 'bind' command removed --- src/session.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/session.cpp') diff --git a/src/session.cpp b/src/session.cpp index 87b47b0..5290d6b 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -151,10 +151,9 @@ void zmq::session_t::process_plug () out_pipe->set_endpoint (this); } - // Note that initial call to inc_seqnum was optimised out. Last - // parameter conveys the fact to the callee. + owner->inc_seqnum (); send_bind (owner, outbound ? &outbound->reader : NULL, - inbound ? &inbound->writer : NULL, false); + inbound ? &inbound->writer : NULL); } owned_t::process_plug (); -- cgit v1.2.3