From 1440703fde8645863e64261392bda007cdeea046 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 24 Aug 2011 15:25:53 +0000 Subject: 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 --- cpp/examples/messaging/drain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/examples') 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"); -- cgit v1.2.1