mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
Whitespace and style fixes
This commit is contained in:
@@ -51,7 +51,8 @@ int zmq::sub_t::xsetsockopt (int option_, const void *optval_,
|
||||
unsigned char *data = (unsigned char*) msg.data ();
|
||||
if (option_ == ZMQ_SUBSCRIBE)
|
||||
*data = 1;
|
||||
else if (option_ == ZMQ_UNSUBSCRIBE)
|
||||
else
|
||||
if (option_ == ZMQ_UNSUBSCRIBE)
|
||||
*data = 0;
|
||||
memcpy (data + 1, optval_, optvallen_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user