diff --git a/src/router.cpp b/src/router.cpp index f87242a5..75d19db9 100644 --- a/src/router.cpp +++ b/src/router.cpp @@ -152,11 +152,9 @@ int zmq::router_t::xsend (msg_t *msg_, int flags_) current_out = it->second.pipe; if (!current_out->check_write ()) { it->second.active = false; - more_out = false; current_out = NULL; } } else if(fail_unroutable) { - more_out = false; errno = EHOSTUNREACH; retval = -1; }