summaryrefslogtreecommitdiff
path: root/src/xrep.hpp
diff options
context:
space:
mode:
authorMartin Hurton <hurtonm@gmail.com>2010-07-06 22:47:07 +0200
committerMartin Hurton <hurtonm@gmail.com>2010-07-07 12:41:53 +0200
commitfd707fedc59124ed627780efed081acf33f455d2 (patch)
tree8c76624a99edf8910d9d509c1d14c9659f8538df /src/xrep.hpp
parent805af8241d7450fe1e60174739a78325677897f6 (diff)
issue 38 - Assertion failed: fetched (xrep.cpp:196)
Diffstat (limited to 'src/xrep.hpp')
-rw-r--r--src/xrep.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xrep.hpp b/src/xrep.hpp
index 940d288..da1b3d8 100644
--- a/src/xrep.hpp
+++ b/src/xrep.hpp
@@ -67,6 +67,12 @@ namespace zmq
// The pipe we are currently reading from.
inpipes_t::size_type current_in;
+ // Have we prefetched a message.
+ bool prefetched;
+
+ // Holds the prefetched message.
+ zmq_msg_t prefetched_msg;
+
// If true, more incoming message parts are expected.
bool more_in;