summaryrefslogtreecommitdiff
path: root/src/lb.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-03-13 14:40:10 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-03-13 14:40:10 +0100
commit61ad236e9543a569fe066872a5fda4fa40ea7591 (patch)
tree7b31a4611a29979692a59fc7e0464451bddc4df3 /src/lb.cpp
parentc42343d3f027248514344aec9e3814dfe1047d59 (diff)
ZMQ_NOFLUSH and zmq_flush obsoleted
Diffstat (limited to 'src/lb.cpp')
-rw-r--r--src/lb.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lb.cpp b/src/lb.cpp
index d7193f1..e282d24 100644
--- a/src/lb.cpp
+++ b/src/lb.cpp
@@ -80,8 +80,7 @@ int zmq::lb_t::send (zmq_msg_t *msg_, int flags_)
return -1;
}
- if (!(flags_ & ZMQ_NOFLUSH))
- pipes [current]->flush ();
+ pipes [current]->flush ();
// Detach the message from the data buffer.
int rc = zmq_msg_init (msg_);