summaryrefslogtreecommitdiff
path: root/src/pub.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-03-27 21:25:40 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-03-27 21:25:40 +0100
commit2f219d7c287cd518bc77b576e507d7a17c9535e9 (patch)
tree02020070a444165da6bbc43c0ea11a8a2ee98a6b /src/pub.cpp
parent842b4dd2e492459cbc0cc79ffdb34ddab8f0b528 (diff)
ZMQ_TBC renamed to ZMQ_MORE
Diffstat (limited to 'src/pub.cpp')
-rw-r--r--src/pub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pub.cpp b/src/pub.cpp
index 1e86b28..4e73b19 100644
--- a/src/pub.cpp
+++ b/src/pub.cpp
@@ -170,7 +170,7 @@ bool zmq::pub_t::write (class writer_t *pipe_, zmq_msg_t *msg_)
pipes.swap (pipes.index (pipe_), active);
return false;
}
- if (!(msg_->flags & ZMQ_MSG_TBC))
+ if (!(msg_->flags & ZMQ_MSG_MORE))
pipe_->flush ();
return true;
}