diff options
-rw-r--r-- | qpid/cpp/src/tests/perftest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/perftest.cpp b/qpid/cpp/src/tests/perftest.cpp index 7c0941bf68..38882f19c3 100644 --- a/qpid/cpp/src/tests/perftest.cpp +++ b/qpid/cpp/src/tests/perftest.cpp @@ -64,6 +64,8 @@ struct PublishThread : public Runnable { Thread thread; void run(); }; int main(int argc, char** argv) { try { opts.parse(argc, argv); + if (!opts.listen && !opts.publish) + opts.listen = opts.publish = true; ListenThread listen; PublishThread publish; if (opts.listen) |