Created
July 18, 2011 13:57
-
-
Save sustrik/1089590 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/src/router.cpp | |
| +++ b/src/router.cpp | |
| @@ -123,7 +123,7 @@ int zmq::router_t::xsend (msg_t *msg_, int flags_) | |
| // If we have malformed message (prefix with no subsequent message) | |
| // then just silently ignore it. | |
| // TODO: The connections should be killed instead. | |
| - if (msg_->flags () & msg_t::label) { | |
| + if (msg_->flags () & msg_t::more) { | |
| more_out = true; | |
| @@ -224,7 +224,7 @@ int zmq::router_t::xrecv (msg_t *msg_, int flags_) | |
| errno_assert (rc == 0); | |
| memcpy (msg_->data (), inpipes [current_in].identity.data (), | |
| msg_->size ()); | |
| - msg_->set_flags (msg_t::label); | |
| + msg_->set_flags (msg_t::more); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment