summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-05-19 13:12:47 +0000
committerTed Ross <tross@apache.org>2008-05-19 13:12:47 +0000
commitbad8bf7dfc69ac825aeb45b761a59fc454c50839 (patch)
tree927267dff8070d6a26f6cffdf1694b7c99f42c17 /qpid/cpp
parent534f82a6777e7cb8a52a8280ce0a4f8aa0d0c3f9 (diff)
downloadqpid-python-bad8bf7dfc69ac825aeb45b761a59fc454c50839.tar.gz
QPID-1071
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@657820 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/management/ManagementBroker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/management/ManagementBroker.cpp b/qpid/cpp/src/qpid/management/ManagementBroker.cpp
index ba53e66f1e..ec7db7eb80 100644
--- a/qpid/cpp/src/qpid/management/ManagementBroker.cpp
+++ b/qpid/cpp/src/qpid/management/ManagementBroker.cpp
@@ -171,7 +171,7 @@ void ManagementBroker::addObject (ManagementObject::shared_ptr object,
}
ManagementBroker::Periodic::Periodic (ManagementBroker& _broker, uint32_t _seconds)
- : TimerTask (qpid::sys::Duration (_seconds * qpid::sys::TIME_SEC)), broker(_broker) {}
+ : TimerTask (qpid::sys::Duration ((_seconds ? _seconds : 1) * qpid::sys::TIME_SEC)), broker(_broker) {}
ManagementBroker::Periodic::~Periodic () {}