From 0bf8a4d2d2474a738f883db718a4d65beb7138e9 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Sun, 28 Oct 2012 07:36:18 +0900 Subject: [PATCH] Code formatting --- src/xsub.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/xsub.cpp b/src/xsub.cpp index 96bcc0ca..7f5f6fdc 100644 --- a/src/xsub.cpp +++ b/src/xsub.cpp @@ -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))