From 5c0f1ab6c7a386e1722441d92dbc6ddd2608191b 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@1161152 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/examples/messaging/drain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/examples/messaging/drain.cpp') 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"); -- cgit v1.2.1