diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-08-30 12:10:40 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-08-30 12:10:40 +0200 |
commit | fba90af8a7cc4a790cc9c77b6313fc253b51c36c (patch) | |
tree | f3fb40bf51e6043a744a202af68092a697b60870 | |
parent | 68d62cfb4eb89549a3118e8e396531452b1174c3 (diff) |
Issue 54 - socket_base.cpp:162 comparison error
-rw-r--r-- | src/socket_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 0dae1b2..e3b956a 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -159,7 +159,7 @@ int zmq::socket_base_t::check_protocol (const std::string &protocol_) // IPC transport is not available on Windows and OpenVMS. #if defined ZMQ_HAVE_WINDOWS || defined ZMQ_HAVE_OPENVMS - if (protocol_ != "ipc") { + if (protocol_ == "ipc") { // Unknown protocol. errno = EPROTONOSUPPORT; return -1; |