From beffee92a8ec9e14cca21e5901970c4d03967c3d Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 26 Apr 2010 16:51:05 +0200 Subject: P2P renamed to PAIR --- src/app_thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/app_thread.cpp') diff --git a/src/app_thread.cpp b/src/app_thread.cpp index 6141c06..9ff2112 100644 --- a/src/app_thread.cpp +++ b/src/app_thread.cpp @@ -41,7 +41,7 @@ #include "pipe.hpp" #include "config.hpp" #include "socket_base.hpp" -#include "p2p.hpp" +#include "pair.hpp" #include "pub.hpp" #include "sub.hpp" #include "req.hpp" @@ -152,8 +152,8 @@ zmq::socket_base_t *zmq::app_thread_t::create_socket (int type_) { socket_base_t *s = NULL; switch (type_) { - case ZMQ_P2P: - s = new (std::nothrow) p2p_t (this); + case ZMQ_PAIR: + s = new (std::nothrow) pair_t (this); break; case ZMQ_PUB: s = new (std::nothrow) pub_t (this); -- cgit v1.2.3