Merge pull request #449 from hintjens/master

Fixed code formatting
This commit is contained in:
Ian Barber 2012-10-27 18:25:42 -07:00
commit 19f77a1ccf

View File

@ -99,10 +99,8 @@ int zmq::xsub_t::xsend (msg_t *msg_, int flags_)
// however this is alread done on the XPUB side and
// doing it here as well breaks ZMQ_XPUB_VERBOSE
// when there are forwarding devices involved
//
//if (subscriptions.add (data + 1, size - 1))
subscriptions.add (data + 1, size - 1);
return dist.send_to_all (msg_, flags_);
subscriptions.add (data + 1, size - 1);
return dist.send_to_all (msg_, flags_);
}
else {
if (subscriptions.rm (data + 1, size - 1))