summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pipe.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pipe.cpp b/src/pipe.cpp
index 1df64e9..d62085d 100644
--- a/src/pipe.cpp
+++ b/src/pipe.cpp
@@ -176,7 +176,6 @@ void zmq::writer_t::rollback ()
while (pipe->unwrite (&msg)) {
zmq_assert (msg.flags & ZMQ_MSG_MORE);
zmq_msg_close (&msg);
- msgs_written--;
}
if (stalled && endpoint != NULL && !pipe_full()) {