summaryrefslogtreecommitdiff
path: root/src/xrep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xrep.cpp')
-rw-r--r--src/xrep.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xrep.cpp b/src/xrep.cpp
index 5d111f8..153be46 100644
--- a/src/xrep.cpp
+++ b/src/xrep.cpp
@@ -145,10 +145,6 @@ int zmq::xrep_t::xsend (msg_t *msg_, int flags_)
it->second.active = false;
more_out = false;
current_out = NULL;
- rc = empty.close ();
- errno_assert (rc == 0);
- errno = EAGAIN;
- return -1;
}
rc = empty.close ();
errno_assert (rc == 0);