diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-11 07:47:19 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-11 07:47:19 +0100 |
commit | 72b2f07a707724b353e9733f60cb4bade9b43966 (patch) | |
tree | 12544fd47c85c3cc63dde5226700dcc16eb6aba2 /examples | |
parent | 65f450f22e311d9a9251d05f8fb902a8fa2afe54 (diff) |
ZMQII-36: Chat example & forwarder broken because of changes subscribe semantics
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/chat/display.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/chat/display.cpp b/examples/chat/display.cpp index d3488a2..c689352 100755 --- a/examples/chat/display.cpp +++ b/examples/chat/display.cpp @@ -36,7 +36,7 @@ int main (int argc, const char *argv []) // Initialise 0MQ infrastructure. zmq::context_t ctx (1, 1); zmq::socket_t s (ctx, ZMQ_SUB); - s.setsockopt (ZMQ_SUBSCRIBE, "*", 1); + s.setsockopt (ZMQ_SUBSCRIBE, "", 0); s.connect (address); while (true) { |