From ec61751e17fe4ceb62cc16750b12df6056c5962a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 6 Dec 2010 22:36:10 +0100 Subject: options.type correctly set for PUB/SUB/XPUB/XSUB Signed-off-by: Martin Sustrik --- src/xpub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xpub.cpp') diff --git a/src/xpub.cpp b/src/xpub.cpp index 1659d6f..601ec23 100644 --- a/src/xpub.cpp +++ b/src/xpub.cpp @@ -29,7 +29,7 @@ zmq::xpub_t::xpub_t (class ctx_t *parent_, uint32_t tid_) : active (0), terminating (false) { - options.type = ZMQ_PUB; + options.type = ZMQ_XPUB; options.requires_in = false; options.requires_out = true; } -- cgit v1.2.3