summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket_base.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index a26c280..f8b1bf7 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -357,6 +357,7 @@ void zmq::socket_base_t::attach_outpipe (class writer_t *pipe_)
{
pipe_->set_endpoint (this);
out_pipes.push_back (pipe_);
+ pipe_->set_index (out_pipes.size () - 1);
}
void zmq::socket_base_t::revive (reader_t *pipe_)