mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-14 01:54:39 +01:00
Issue 54 - socket_base.cpp:162 comparison error
This commit is contained in:
parent
68d62cfb4e
commit
fba90af8a7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user