diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-11-24 11:23:10 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-11-24 11:23:10 +0100 |
commit | c98fd6bc3f2a49d7cb0b820a07354168c98f60b7 (patch) | |
tree | 894f3dc0e6221284c6608a8819488f4ffede1085 /src/rep.cpp | |
parent | 5cd98bc575517ea72c435770a5313711484f7d34 (diff) |
ZMQII-25: Implement streamed request/reply
Diffstat (limited to 'src/rep.cpp')
-rw-r--r-- | src/rep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rep.cpp b/src/rep.cpp index 7599cb5..f06f4ab 100644 --- a/src/rep.cpp +++ b/src/rep.cpp @@ -71,7 +71,7 @@ void zmq::rep_t::xdetach_inpipe (class reader_t *pipe_) } // Now both inpipe and outpipe are detached. Remove them from the lists. - if (in_pipes.index (pipe_) < active) + if (index < active) active--; in_pipes.erase (index); out_pipes.erase (index); |