diff options
author | Alan Conway <aconway@apache.org> | 2008-01-23 17:41:00 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-01-23 17:41:00 +0000 |
commit | 2e7f739bce1018498152db2d6b43da1eb055239f (patch) | |
tree | 80bdb879b7fc03a2e200661aa811ae24ae670bae /cpp/src | |
parent | b6673e1e11f07fbb22a6a78925bcb3ffca733fc5 (diff) | |
download | qpid-python-2e7f739bce1018498152db2d6b43da1eb055239f.tar.gz |
examples/Makefile.am:
- verify.tar target, tars up verify script for easy transport to installation.
examples/examples/pub-sub/verify.in: fixed typeo.
examples/verify: don't kill the pub-sub listener, it should exit gracefully.
src/qpid/client/Dispatcher.cpp
src/qpid/client/SubscriptionManager.cpp
- Fix uninitialized autoStop member variable.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/client/Dispatcher.cpp | 2 | ||||
-rw-r--r-- | cpp/src/qpid/client/SubscriptionManager.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/Dispatcher.cpp b/cpp/src/qpid/client/Dispatcher.cpp index 6b6a76b222..f4a7ff54d8 100644 --- a/cpp/src/qpid/client/Dispatcher.cpp +++ b/cpp/src/qpid/client/Dispatcher.cpp @@ -49,7 +49,7 @@ void Subscriber::received(Message& msg) } Dispatcher::Dispatcher(Session_0_10& s, const std::string& q) - : session(s), running(false) + : session(s), running(false), autoStop(true) { queue = q.empty() ? session.getExecution().getDemux().getDefault() : diff --git a/cpp/src/qpid/client/SubscriptionManager.cpp b/cpp/src/qpid/client/SubscriptionManager.cpp index ec2f7000ef..7289997a69 100644 --- a/cpp/src/qpid/client/SubscriptionManager.cpp +++ b/cpp/src/qpid/client/SubscriptionManager.cpp @@ -35,7 +35,8 @@ namespace client { SubscriptionManager::SubscriptionManager(Session_0_10& s) : dispatcher(s), session(s), messages(UNLIMITED), bytes(UNLIMITED), window(true), - confirmMode(true), acquireMode(false) + confirmMode(true), acquireMode(false), + autoStop(true) {} Completion SubscriptionManager::subscribeInternal( |