Code formatting

This commit is contained in:
Pieter Hintjens 2012-10-28 07:36:18 +09:00
parent 6b45262086
commit 0bf8a4d2d2

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 // however this is alread done on the XPUB side and
// doing it here as well breaks ZMQ_XPUB_VERBOSE // doing it here as well breaks ZMQ_XPUB_VERBOSE
// when there are forwarding devices involved // when there are forwarding devices involved
// subscriptions.add (data + 1, size - 1);
//if (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 { else {
if (subscriptions.rm (data + 1, size - 1)) if (subscriptions.rm (data + 1, size - 1))