BIND 10 trac1704, updated. 232fa3cac36aa33ef22252610bae33cf57574163 [1704] Coding style updates

BIND 10 source code commits bind10-changes at lists.isc.org
Tue May 22 06:36:17 UTC 2012


The branch, trac1704 has been updated
       via  232fa3cac36aa33ef22252610bae33cf57574163 (commit)
      from  be6e527b9993abff912800014f375a8a82935488 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 232fa3cac36aa33ef22252610bae33cf57574163
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue May 22 12:05:21 2012 +0530

    [1704] Coding style updates

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

Summary of changes:
 src/lib/log/logger_impl.cc           |    2 +-
 src/lib/log/tests/logger_unittest.cc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/log/logger_impl.cc b/src/lib/log/logger_impl.cc
index 940df35..c59b29a 100644
--- a/src/lib/log/logger_impl.cc
+++ b/src/lib/log/logger_impl.cc
@@ -173,7 +173,7 @@ LoggerImpl::outputRaw(const Severity& severity, const string& message) {
 
     if (lock_fd_ != -1) {
         if (!l.unlock()) {
-          logger_->error("Unable to unlock logger lockfile: " + lockfile_path_);
+            logger_->error("Unable to unlock logger lockfile: " + lockfile_path_);
         }
     }
 }
diff --git a/src/lib/log/tests/logger_unittest.cc b/src/lib/log/tests/logger_unittest.cc
index fae8d9b..dbaca65 100644
--- a/src/lib/log/tests/logger_unittest.cc
+++ b/src/lib/log/tests/logger_unittest.cc
@@ -455,7 +455,7 @@ public:
     }
 
     bool wasLocked() {
-        return was_locked_;
+        return (was_locked_);
     }
 
 private:



More information about the bind10-changes mailing list