summaryrefslogtreecommitdiff
path: root/src/vtcp_listener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vtcp_listener.cpp')
-rw-r--r--src/vtcp_listener.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vtcp_listener.cpp b/src/vtcp_listener.cpp
index 9a897e4..b394833 100644
--- a/src/vtcp_listener.cpp
+++ b/src/vtcp_listener.cpp
@@ -26,7 +26,7 @@
#include <string.h>
#include <vtcp.h>
-#include "tcp_engine.hpp"
+#include "stream_engine.hpp"
#include "session.hpp"
#include "stdint.hpp"
#include "err.hpp"
@@ -104,7 +104,7 @@ void zmq::vtcp_listener_t::in_event ()
tune_tcp_socket (fd);
// Create the engine object for this connection.
- tcp_engine_t *engine = new (std::nothrow) tcp_engine_t (fd, options);
+ stream_engine_t *engine = new (std::nothrow) stream_engine_t (fd, options);
alloc_assert (engine);
// Choose I/O thread to run connecter in. Given that we are already