BIND 10 master, updated. 6714481ecee6046a62fc351158f8c5c7d9e0bf30 use explicit operator precedence; reviewed via jabber

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Feb 15 02:54:31 UTC 2013


The branch, master has been updated
       via  6714481ecee6046a62fc351158f8c5c7d9e0bf30 (commit)
      from  a3a6e386382332790b88db561ce7bac20d3dbcd8 (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 6714481ecee6046a62fc351158f8c5c7d9e0bf30
Author: Mark Andrews <marka at isc.org>
Date:   Fri Feb 15 13:54:22 2013 +1100

    use explicit operator precedence; reviewed via jabber

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

Summary of changes:
 src/lib/config/ccsession.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/config/ccsession.cc b/src/lib/config/ccsession.cc
index 8516d6c..378f2b4 100644
--- a/src/lib/config/ccsession.cc
+++ b/src/lib/config/ccsession.cc
@@ -341,8 +341,8 @@ getRelatedLoggers(ConstElementPtr loggers) {
         const std::string cur_name = cur_logger->get("name")->stringValue();
         // If name is '*', or starts with '*.', replace * with root
         // logger name.
-        if (cur_name == "*" || cur_name.length() > 1 &&
-            cur_name[0] == '*' && cur_name[1] == '.') {
+        if (cur_name == "*" || (cur_name.length() > 1 &&
+            cur_name[0] == '*' && cur_name[1] == '.')) {
 
             // Substitute the "*" with the root name
             std::string mod_name = cur_name;



More information about the bind10-changes mailing list