From e45c2b847c7c0420309731d3705688b0daff9370 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:01:35 +0900 Subject: Remaining part of the logging infrastructure removed Signed-off-by: Martin Sustrik --- src/socket_base.cpp | 6 +++--- 1 file 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 -- cgit v1.2.3