summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-01 18:50:54 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-01 18:50:54 +0100
commit9bd309bda6522dfdd514dd0c4edae04322c83ed1 (patch)
treeffcb1f097b219f64cffb079e1e36a54d2f624e8b /src/session.cpp
parentc04583ff6ca3c27de5628a61b6b6ce59fd13c9d9 (diff)
annoying optimisation in 'bind' command removed
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp5
1 files changed, 2 insertions, 3 deletions
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 ();