[asterisk-scf-commits] asterisk-scf/release/ice-util-cpp.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Sep 19 13:57:47 CDT 2011
branch "master" has been updated
via 55c5019c185270ba5798a041c02201736e28c32e (commit)
from afaf84290379d63d85c66a197c0c8ebac81d194a (commit)
Summary of changes:
src/CollocatedIceStorm/CollocatedIceStorm.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 55c5019c185270ba5798a041c02201736e28c32e
Author: Brent Eagles <beagles at digium.com>
Date: Mon Sep 19 16:27:12 2011 -0230
Add ".IceStorm" to the properties handed into the IceStorm library for
consistency with property names.
diff --git a/src/CollocatedIceStorm/CollocatedIceStorm.cpp b/src/CollocatedIceStorm/CollocatedIceStorm.cpp
index 0f24f46..d5e9cea 100644
--- a/src/CollocatedIceStorm/CollocatedIceStorm.cpp
+++ b/src/CollocatedIceStorm/CollocatedIceStorm.cpp
@@ -52,10 +52,11 @@ CollocatedIceStorm::CollocatedIceStorm(const std::string& namePrefix, const Ice:
mService = factory(mCommunicator);
assert(mService != 0);
Ice::StringSeq options;
- mService->start(namePrefix, mCommunicator, options);
+ std::string prefix = namePrefix + ".IceStorm";
+ mService->start(prefix, mCommunicator, options);
std::stringstream os;
- os << properties->getPropertyWithDefault(namePrefix + ".IceStorm.InstanceName", "IceStorm") << "/TopicManager:";
- os << properties->getProperty(namePrefix + ".IceStorm.TopicManager.Endpoints");
+ os << properties->getPropertyWithDefault(prefix + ".InstanceName", "IceStorm") << "/TopicManager:";
+ os << properties->getProperty(prefix + ".TopicManager.Endpoints");
mTopicManagerString = os.str();
}
-----------------------------------------------------------------------
--
asterisk-scf/release/ice-util-cpp.git
More information about the asterisk-scf-commits
mailing list