From aebff623f36efddc0de7a3192832b61802f8cec8 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 23 Dec 2009 19:37:56 +0100 Subject: ZMQII-28: Bidirectional introduction on TCP connection establishment --- src/zmq_listener.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/zmq_listener.cpp') diff --git a/src/zmq_listener.cpp b/src/zmq_listener.cpp index 5c7552b..6a7e2fd 100644 --- a/src/zmq_listener.cpp +++ b/src/zmq_listener.cpp @@ -20,7 +20,7 @@ #include #include "zmq_listener.hpp" -#include "zmq_listener_init.hpp" +#include "zmq_init.hpp" #include "io_thread.hpp" #include "err.hpp" @@ -64,8 +64,8 @@ void zmq::zmq_listener_t::in_event () // Create an init object. io_thread_t *io_thread = choose_io_thread (options.affinity); - zmq_listener_init_t *init = new (std::nothrow) zmq_listener_init_t ( - io_thread, owner, fd, options); + zmq_init_t *init = new (std::nothrow) zmq_init_t ( + io_thread, owner, fd, options, false, NULL, 0); zmq_assert (init); send_plug (init); send_own (owner, init); -- cgit v1.2.3