summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
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 ();