diff options
Diffstat (limited to 'cpp/examples/messaging/drain.cpp')
-rw-r--r-- | cpp/examples/messaging/drain.cpp | 2 |
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"); |