diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:01:35 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:01:35 +0900 |
commit | e45c2b847c7c0420309731d3705688b0daff9370 (patch) | |
tree | 614c6586739dcc8700d468e9f69dc244aee80431 | |
parent | 40b990c030c662ea00e779b601ef300404eeaccf (diff) |
Remaining part of the logging infrastructure removed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r-- | src/socket_base.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 077d6e0..49c6e0a 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -172,7 +172,7 @@ int zmq::socket_base_t::check_protocol (const std::string &protocol_) { // First check out whether the protcol is something we are aware of. if (protocol_ != "inproc" && protocol_ != "ipc" && protocol_ != "tcp" && - protocol_ != "pgm" && protocol_ != "epgm" && protocol_ != "sys") { + protocol_ != "pgm" && protocol_ != "epgm") { errno = EPROTONOSUPPORT; return -1; } @@ -311,7 +311,7 @@ int zmq::socket_base_t::bind (const char *addr_) if (rc != 0) return -1; - if (protocol == "inproc" || protocol == "sys") { + if (protocol == "inproc") { endpoint_t endpoint = {this, options}; return register_endpoint (addr_, endpoint); } @@ -381,7 +381,7 @@ int zmq::socket_base_t::connect (const char *addr_) if (rc != 0) return -1; - if (protocol == "inproc" || protocol == "sys") { + if (protocol == "inproc") { // TODO: inproc connect is specific with respect to creating pipes // as there's no 'reconnect' functionality implemented. Once that |