Renamed test_router_raw_empty to test_stream_empty

* The ZMQ_ROUTER_RAW API was deprecated in favor of ZMQ_STREAM
* Same issue hit router.cpp, which I've fixed
This commit is contained in:
Pieter Hintjens
2013-10-28 21:00:42 +01:00
parent c2c0f39d36
commit eaba5dfe37
5 changed files with 64 additions and 66 deletions

View File

@@ -142,6 +142,8 @@ int zmq::stream_t::xsend (msg_t *msg_)
current_out->terminate (false);
int rc = msg_->close ();
errno_assert (rc == 0);
rc = msg_->init ();
errno_assert (rc == 0);
current_out = NULL;
return 0;
}