summaryrefslogtreecommitdiff
path: root/src/xpub.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-12-06 22:36:10 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-12-06 22:36:10 +0100
commitec61751e17fe4ceb62cc16750b12df6056c5962a (patch)
treed41a90740558b30fcb52a2457acb1577a39766ae /src/xpub.cpp
parent8a6ff4ccd2ecbbfb7b2fd80fe621b8a05b0f9bbd (diff)
options.type correctly set for PUB/SUB/XPUB/XSUB
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xpub.cpp')
-rw-r--r--src/xpub.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}