summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-15 12:00:48 +0200
committermalosek <malosek@fastmq.com>2009-09-15 12:00:48 +0200
commit7653f34df0aae4689d0ccc563a2f111f4793e539 (patch)
treec30bf3b07b454c140411569d428b93f63a4c59ed
parent3a3bcd337fb8000aef6c8f5ca3dd1b10475d7ab0 (diff)
fixed pub_t class creating ZMQ_SUB socket_base_t
-rw-r--r--src/pub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pub.cpp b/src/pub.cpp
index d6eca01..5c6e329 100644
--- a/src/pub.cpp
+++ b/src/pub.cpp
@@ -23,7 +23,7 @@
#include "err.hpp"
zmq::pub_t::pub_t (class app_thread_t *parent_) :
- socket_base_t (parent_, ZMQ_SUB)
+ socket_base_t (parent_, ZMQ_PUB)
{
}