diff options
-rw-r--r-- | src/socket_base.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 51649fb..900f1c5 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <iostream> - #include <string> #include <algorithm> @@ -246,7 +244,7 @@ int zmq::socket_base_t::connect (const char *addr_) #if defined ZMQ_HAVE_OPENPGM if (addr_type == "pgm") { - + switch (type) { case ZMQ_PUB: { @@ -259,7 +257,7 @@ int zmq::socket_base_t::connect (const char *addr_) delete pgm_sender; return -1; } - + // Reserve a sequence number for following 'attach' command. session->inc_seqnum (); send_attach (session, pgm_sender); |