Commit fba90af8 authored by Martin Sustrik's avatar Martin Sustrik

Issue 54 - socket_base.cpp:162 comparison error

parent 68d62cfb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment