ZMQ_GENERIC renamed to ZMQ_ROUTER

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-07-21 18:43:50 +02:00
parent cb2d715605
commit 72a793f78a
5 changed files with 26 additions and 27 deletions

View File

@@ -58,7 +58,7 @@
#include "xrep.hpp"
#include "xpub.hpp"
#include "xsub.hpp"
#include "generic.hpp"
#include "router.hpp"
bool zmq::socket_base_t::check_tag ()
{
@@ -104,8 +104,8 @@ zmq::socket_base_t *zmq::socket_base_t::create (int type_, class ctx_t *parent_,
case ZMQ_XSUB:
s = new (std::nothrow) xsub_t (parent_, tid_);
break;
case ZMQ_GENERIC:
s = new (std::nothrow) generic_t (parent_, tid_);
case ZMQ_ROUTER:
s = new (std::nothrow) router_t (parent_, tid_);
break;
default:
errno = EINVAL;