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 25d397c..b888b43 100644 --- a/src/pub.cpp +++ b/src/pub.cpp @@ -22,6 +22,7 @@ zmq::pub_t::pub_t (class ctx_t *parent_, uint32_t tid_) : xpub_t (parent_, tid_) { + options.type = ZMQ_PUB; } zmq::pub_t::~pub_t () |