qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1161152 - /qpid/trunk/qpid/cpp/examples/messaging/drain.cpp
Date Wed, 24 Aug 2011 15:25:54 GMT
Author: gsim
Date: Wed Aug 24 15:25:53 2011
New Revision: 1161152

URL: http://svn.apache.org/viewvc?rev=1161152&view=rev
Log:
QPID-3451: make count=0 the default for consistency with python equivalent

Modified:
    qpid/trunk/qpid/cpp/examples/messaging/drain.cpp

Modified: qpid/trunk/qpid/cpp/examples/messaging/drain.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/examples/messaging/drain.cpp?rev=1161152&r1=1161151&r2=1161152&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/examples/messaging/drain.cpp (original)
+++ qpid/trunk/qpid/cpp/examples/messaging/drain.cpp Wed Aug 24 15:25:53 2011
@@ -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");



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message