mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
sunos/gcc3 compilation issue fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -50,7 +50,7 @@ int zmq::sub_t::xsetsockopt (int option_, const void *optval_,
|
||||
memcpy (data + 1, optval_, optvallen_);
|
||||
|
||||
// Pass it further on in the stack.
|
||||
int err;
|
||||
int err = 0;
|
||||
int rc = xsend (&msg, 0);
|
||||
if (rc != 0)
|
||||
err = errno;
|
||||
|
||||
Reference in New Issue
Block a user