[asterisk-scf-commits] asterisk-scf/integration/logger.git branch "locate-with-id" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Jun 21 12:00:16 CDT 2011


branch "locate-with-id" has been created
        at  d226b524b9d733c05cb676b344f492c067e060b6 (commit)

- Log -----------------------------------------------------------------
commit d226b524b9d733c05cb676b344f492c067e060b6
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Tue Jun 21 11:59:04 2011 -0500

    Updates for id field in ServiceLocatorParams.

diff --git a/client/src/IceLogger.cpp b/client/src/IceLogger.cpp
index 2cba8ae..c9d898a 100644
--- a/client/src/IceLogger.cpp
+++ b/client/src/IceLogger.cpp
@@ -95,7 +95,7 @@ void ConfiguredIceLogger::updateLoggerFromServiceLocator()
         // we must use AMI to free this thread up for servicing requests
         // if this client is used by the service locator itself, a
         // synchronous call to locate would result in a deadlock
-        ServiceLocatorParamsPtr loggingServerParams = new ServiceLocatorParams(LoggingServerCategory);
+        ServiceLocatorParamsPtr loggingServerParams = new ServiceLocatorParams(LoggingServerCategory, "");
 
         Ice::CallbackPtr callback = Ice::newCallback(this, &ConfiguredIceLogger::locateFinished);
 
diff --git a/server/src/main.cpp b/server/src/main.cpp
index f4c5cf7..816d906 100644
--- a/server/src/main.cpp
+++ b/server/src/main.cpp
@@ -73,7 +73,7 @@ void LoggingService::registerWithServiceLocator(
             mServiceManagement = management->addService(serverProxy,
                 LoggingServerGuid);
             ServiceLocatorParamsPtr params = new ServiceLocatorParams(
-                LoggingServerCategory);
+                LoggingServerCategory, "");
             mServiceManagement->addLocatorParams(params, "");
         }
         else

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/logger.git



More information about the asterisk-scf-commits mailing list