You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2011/08/24 17:25:54 UTC

svn commit: r1161152 - /qpid/trunk/qpid/cpp/examples/messaging/drain.cpp

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