summaryrefslogtreecommitdiff
path: root/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
commit1440703fde8645863e64261392bda007cdeea046 (patch)
tree646c539ed4e2d67ac4b6755293a0c8c7248d84c2 /cpp/examples/messaging
parentf851b09a44f458105f5e555194347a4d3ea86301 (diff)
downloadqpid-python-1440703fde8645863e64261392bda007cdeea046.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/messaging')
-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");