summaryrefslogtreecommitdiff
path: root/cpp/examples
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
commitedeb4832d43750684d474fa2499f66b93bb767b6 (patch)
tree646c539ed4e2d67ac4b6755293a0c8c7248d84c2 /cpp/examples
parent2aaa26e8519897e2a38fd2f0510b752013b69b44 (diff)
downloadqpid-python-edeb4832d43750684d474fa2499f66b93bb767b6.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/qpid@1161152 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples')
-rw-r--r--cpp/examples/messaging/drain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/messaging/drain.cpp b/cpp/examples/messaging/drain.cpp
index 7700244fa8..563e5e5060 100644
--- a/cpp/examples/messaging/drain.cpp
+++ b/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");