summaryrefslogtreecommitdiff
path: root/src/sub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub.cpp')
-rw-r--r--src/sub.cpp1
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 ()