[asterisk-scf-commits] asterisk-scf/integration/logger.git branch "logformat" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Apr 21 06:23:43 CDT 2011


branch "logformat" has been updated
       via  00fefc259ca829ba21e17b574b7cfe0d50b777d1 (commit)
      from  ec3ff2a4feb2e6f0ed4d7438f20bbbce9f41fd4b (commit)

Summary of changes:
 client/src/LogFormatter.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 00fefc259ca829ba21e17b574b7cfe0d50b777d1
Author: Fred Anderson <fanderson at digium.com>
Date:   Thu Apr 21 06:22:58 2011 -0500

    Fixed 'else' formatting

diff --git a/client/src/LogFormatter.cpp b/client/src/LogFormatter.cpp
index 7128b0f..d36dbb6 100644
--- a/client/src/LogFormatter.cpp
+++ b/client/src/LogFormatter.cpp
@@ -111,8 +111,7 @@ void LogFormatter::logs(const std::string& name, Level level, const std::string&
            // in the output and signal to someone that the format is wrong
         }
     }
-    else
-    if ((pos=outStr.find(SPECIFIER("t"),0))!=std::string::npos)
+    else if ((pos=outStr.find(SPECIFIER("t"),0))!=std::string::npos)
     {
         // Client timestamp (unformatted)
         char timeStamp[TIMESTAMP_SIZE];

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


-- 
asterisk-scf/integration/logger.git



More information about the asterisk-scf-commits mailing list