Commit 95eebbff authored by Martin Sustrik's avatar Martin Sustrik

sunos/gcc3 compilation issue fixed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 51d2d9b9
......@@ -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;
......
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