mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
ricnewton review comment
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
This commit is contained in:
@@ -211,7 +211,7 @@ int zmq::socket_base_t::check_protocol (const std::string &protocol_)
|
|||||||
|
|
||||||
// TIPC transport is only available on Linux.
|
// TIPC transport is only available on Linux.
|
||||||
#if !defined ZMQ_HAVE_LINUX
|
#if !defined ZMQ_HAVE_LINUX
|
||||||
if (protocol_ = "tipc") {
|
if (protocol_ == "tipc") {
|
||||||
errno = EPROTONOSUPPORT;
|
errno = EPROTONOSUPPORT;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user