diff options
Diffstat (limited to 'src/pub.cpp')
-rw-r--r-- | src/pub.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pub.cpp b/src/pub.cpp index 6edd991..b1a1239 100644 --- a/src/pub.cpp +++ b/src/pub.cpp @@ -29,6 +29,7 @@ zmq::pub_t::pub_t (class ctx_t *parent_, uint32_t slot_) : active (0), terminating (false) { + options.type = ZMQ_PUB; options.requires_in = false; options.requires_out = true; } |