Skip to content
Browse files

Use full endpoint string in monitor response

The endpoint was excluding the tcp://, causing tests to fail
  • Loading branch information...
1 parent 9483558 commit 95c018c0d3e7610e58a901ee970fcac8be8db176 @ianbarber ianbarber committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tcp_listener.cpp
2 src/tcp_listener.cpp
@@ -223,7 +223,7 @@ int zmq::tcp_listener_t::set_address (const char *addr_)
goto error;
- socket->monitor_event (ZMQ_EVENT_LISTENING, addr_, s);
+ socket->monitor_event (ZMQ_EVENT_LISTENING, endpoint.c_str(), s);
return 0;

0 comments on commit 95c018c

Please sign in to comment.
Something went wrong with that request. Please try again.