Use full endpoint string in monitor response

The endpoint was excluding the tcp://, causing tests to fail
This commit is contained in:
Ian Barber 2012-08-26 16:29:40 +01:00
parent 94835581a4
commit 95c018c0d3

View File

@ -223,7 +223,7 @@ int zmq::tcp_listener_t::set_address (const char *addr_)
goto error;
#endif
socket->monitor_event (ZMQ_EVENT_LISTENING, addr_, s);
socket->monitor_event (ZMQ_EVENT_LISTENING, endpoint.c_str(), s);
return 0;
error: