mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-31 01:43:02 +08:00
ricnewton review comment
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
This commit is contained in:
parent
9d5a379331
commit
632677e805
@ -211,7 +211,7 @@ int zmq::socket_base_t::check_protocol (const std::string &protocol_)
|
||||
|
||||
// TIPC transport is only available on Linux.
|
||||
#if !defined ZMQ_HAVE_LINUX
|
||||
if (protocol_ = "tipc") {
|
||||
if (protocol_ == "tipc") {
|
||||
errno = EPROTONOSUPPORT;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user