summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-08-24 15:25:53 +0000
committerGordon Sim <gsim@apache.org>2011-08-24 15:25:53 +0000
commit5c0f1ab6c7a386e1722441d92dbc6ddd2608191b (patch)
tree6a28cf3c45b36c1c8f57d6b93b24b548f4f0a16b /qpid/cpp/examples/messaging
parent3e1a552845f6b8cca53d5d679a29e69f98445b56 (diff)
downloadqpid-python-5c0f1ab6c7a386e1722441d92dbc6ddd2608191b.tar.gz
QPID-3451: make count=0 the default for consistency with python equivalent
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161152 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging')
-rw-r--r--qpid/cpp/examples/messaging/drain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/drain.cpp b/qpid/cpp/examples/messaging/drain.cpp
index 7700244fa8..563e5e5060 100644
--- a/qpid/cpp/examples/messaging/drain.cpp
+++ b/qpid/cpp/examples/messaging/drain.cpp
@@ -45,7 +45,7 @@ struct Options : OptionParser
url("127.0.0.1"),
timeout(0),
forever(false),
- count(1)
+ count(0)
{
add("broker,b", url, "url of broker to connect to");
add("timeout,t", timeout, "timeout in seconds to wait before exiting");