mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 02:53:12 +01:00
minor fixes
This commit is contained in:
@@ -191,8 +191,8 @@ zmq::socket_base_t *zmq::app_thread_t::create_socket (int type_)
|
||||
s = new (std::nothrow) downstream_t (this);
|
||||
break;
|
||||
default:
|
||||
// TODO: This should be EINVAL.
|
||||
zmq_assert (false);
|
||||
errno = EINVAL;
|
||||
return NULL;
|
||||
}
|
||||
zmq_assert (s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user