[asterisk-scf-commits] asterisk-scf/release/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Feb 9 12:56:04 CST 2012


branch "master" has been updated
       via  5a430c1eeccead2e308d276f39c09b58072a8cbf (commit)
      from  23ee84be343bcf26f75cd325ce2e76568b3f8cd0 (commit)

Summary of changes:
 client/test/IceConfigurator-test.cpp |    4 +++-
 server/src/LoggingServer.cpp         |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 5a430c1eeccead2e308d276f39c09b58072a8cbf
Author: Brent Eagles <beagles at digium.com>
Date:   Thu Feb 9 15:23:53 2012 -0330

    Fix build error on Windows.

diff --git a/client/test/IceConfigurator-test.cpp b/client/test/IceConfigurator-test.cpp
index 5b6988a..51b3e56 100644
--- a/client/test/IceConfigurator-test.cpp
+++ b/client/test/IceConfigurator-test.cpp
@@ -26,7 +26,9 @@ namespace
 {
 void addConfig(Configuration& cfg, const std::string& name, Level logLevel)
 {
-    SourceConfiguration sourceConfig(name, logLevel);
+    SourceConfiguration sourceConfig;
+    sourceConfig.name = name;
+    sourceConfig.logLevel = logLevel;
 
     cfg.sourceSettings.push_back(sourceConfig);
 }
diff --git a/server/src/LoggingServer.cpp b/server/src/LoggingServer.cpp
index 1391929..83fb830 100644
--- a/server/src/LoggingServer.cpp
+++ b/server/src/LoggingServer.cpp
@@ -113,7 +113,9 @@ Configuration LoggingServerI::getConfiguration() const
     for (Sources::const_reverse_iterator i = mSources.rbegin(); i
              != mSources.rend(); ++i)
     {
-        SourceConfiguration v(i->first, i->second.getLogLevel());
+        SourceConfiguration v;
+        v.name = i->first;
+        v.logLevel =  i->second.getLogLevel();
         r.sourceSettings.push_back(v);
     }
     return r;

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


-- 
asterisk-scf/release/logger.git



More information about the asterisk-scf-commits mailing list