summaryrefslogtreecommitdiff
path: root/src/zmq_decoder.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-03-09 17:24:42 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-03-09 17:24:42 +0100
commit0f891e091cc46775226ee1fe28784876395a7b92 (patch)
treeca22bddb7e575b90dd1619731cf93efa5d988dca /src/zmq_decoder.cpp
parent531c6af0d4df606ddef15da821dad20399b9480a (diff)
message flags from the wire are written to zmq_msg_t and vice versa
Diffstat (limited to 'src/zmq_decoder.cpp')
-rw-r--r--src/zmq_decoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zmq_decoder.cpp b/src/zmq_decoder.cpp
index 34bd618..c7e20e1 100644
--- a/src/zmq_decoder.cpp
+++ b/src/zmq_decoder.cpp
@@ -112,8 +112,8 @@ bool zmq::zmq_decoder_t::eight_byte_size_ready ()
bool zmq::zmq_decoder_t::flags_ready ()
{
- // No flags are accepted at the moment.
- zmq_assert (tmpbuf [0] == 0);
+ // Store the flags from the wire into the message structure.
+ in_progress.flags = tmpbuf [0];
if (prefix.empty ()) {
next_step (zmq_msg_data (&in_progress), zmq_msg_size (&in_progress),