diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-04-26 16:51:05 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-04-26 16:51:05 +0200 |
commit | beffee92a8ec9e14cca21e5901970c4d03967c3d (patch) | |
tree | 871f2db9d9fba2d5af62f5f4d514b215b921676b /src/app_thread.cpp | |
parent | 7d9603d722c9c2752dccd0c51f470e68d0e0c48c (diff) |
P2P renamed to PAIR
Diffstat (limited to 'src/app_thread.cpp')
-rw-r--r-- | src/app_thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |