From 95c018c0d3e7610e58a901ee970fcac8be8db176 Mon Sep 17 00:00:00 2001 From: Ian Barber Date: Sun, 26 Aug 2012 16:29:40 +0100 Subject: [PATCH] Use full endpoint string in monitor response The endpoint was excluding the tcp://, causing tests to fail --- src/tcp_listener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcp_listener.cpp b/src/tcp_listener.cpp index 7eb5ea96..7af2d373 100644 --- a/src/tcp_listener.cpp +++ b/src/tcp_listener.cpp @@ -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: