summaryrefslogtreecommitdiff
path: root/perf/cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2010-01-05 14:45:10 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2010-01-05 14:45:10 +0100
commitef049efe2ec56bb0ff5395ba8cba6e1722922e43 (patch)
tree577d47fae2c11f5032b27c57b4d7eebfc000a027 /perf/cpp
parent8d339e959694107df8f1666634a34f54ad76ae41 (diff)
perf tests modified to reflect change in subscription format
Diffstat (limited to 'perf/cpp')
-rw-r--r--perf/cpp/local_thr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/cpp/local_thr.cpp b/perf/cpp/local_thr.cpp
index b5839be..acfc02d 100644
--- a/perf/cpp/local_thr.cpp
+++ b/perf/cpp/local_thr.cpp
@@ -38,7 +38,7 @@ int main (int argc, char *argv [])
zmq::socket_t s (ctx, ZMQ_SUB);
- s.setsockopt (ZMQ_SUBSCRIBE , "*", 1);
+ s.setsockopt (ZMQ_SUBSCRIBE , "", 0);
// Add your socket options here.
// For example ZMQ_RATE, ZMQ_RECOVERY_IVL and ZMQ_MCAST_LOOP for PGM.