diff options
Diffstat (limited to 'src/sub.cpp')
-rw-r--r-- | src/sub.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sub.cpp b/src/sub.cpp index 14f6730..bd70a55 100644 --- a/src/sub.cpp +++ b/src/sub.cpp @@ -24,6 +24,7 @@ zmq::sub_t::sub_t (class ctx_t *parent_, uint32_t tid_) : xsub_t (parent_, tid_) { + options.type = ZMQ_SUB; } zmq::sub_t::~sub_t () |