summaryrefslogtreecommitdiff
path: root/src/pipe.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-03-13 12:34:55 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-03-13 12:34:55 +0100
commitc42343d3f027248514344aec9e3814dfe1047d59 (patch)
tree4d4713585b2407ebe4371b2b4cbe4d680eb9098a /src/pipe.hpp
parentdcb983699e52bf2e075baaeef250bcd3c82e4846 (diff)
pipe_t::rollback removes only unfinished message from the pipe rather than all unflushed messages
Diffstat (limited to 'src/pipe.hpp')
-rw-r--r--src/pipe.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe.hpp b/src/pipe.hpp
index 0ac7fc5..a4569e3 100644
--- a/src/pipe.hpp
+++ b/src/pipe.hpp
@@ -98,7 +98,7 @@ namespace zmq
// message cannot be written because high watermark was reached.
bool write (zmq_msg_t *msg_);
- // Remove any unflushed messages from the pipe.
+ // Remove unfinished part of a message from the pipe.
void rollback ();
// Flush the messages downsteam.