BIND 10 trac551, updated. 1888b383084177cbfab6c408e15565a3bec17ee9 [trac551] minor editorial fixes: position of '*', avoid implicit conversion to bool

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Feb 15 18:17:18 UTC 2011


The branch, trac551 has been updated
       via  1888b383084177cbfab6c408e15565a3bec17ee9 (commit)
      from  73837f513323e69175abfcfd04ca2f7b1fe22a4c (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 1888b383084177cbfab6c408e15565a3bec17ee9
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Feb 15 10:16:44 2011 -0800

    [trac551] minor editorial fixes: position of '*', avoid implicit conversion to bool

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

Summary of changes:
 src/lib/datasrc/tests/memory_datasrc_unittest.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory_datasrc_unittest.cc b/src/lib/datasrc/tests/memory_datasrc_unittest.cc
index dd41bd7..90fdcb3 100644
--- a/src/lib/datasrc/tests/memory_datasrc_unittest.cc
+++ b/src/lib/datasrc/tests/memory_datasrc_unittest.cc
@@ -813,7 +813,7 @@ TEST_F(MemoryZoneTest, nestedEmptyWildcard) {
     }
 
     // Domains to test
-    const char *names[] = {
+    const char* names[] = {
         "*.foo.*.bar.example.org",
         "foo.*.bar.example.org",
         "*.bar.example.org",
@@ -824,7 +824,7 @@ TEST_F(MemoryZoneTest, nestedEmptyWildcard) {
     {
         SCOPED_TRACE("Asking directly for A on parent nodes");
 
-        for (const char **name(names); *name; ++ name) {
+        for (const char** name(names); *name != NULL; ++ name) {
             SCOPED_TRACE(string("Node ") + *name);
             findTest(Name(*name), RRType::A(), Zone::NXRRSET);
         }
@@ -833,7 +833,7 @@ TEST_F(MemoryZoneTest, nestedEmptyWildcard) {
     {
         SCOPED_TRACE("Asking for ANY on parent nodes");
 
-        for (const char **name(names); *name; ++ name) {
+        for (const char** name(names); *name != NULL; ++ name) {
             SCOPED_TRACE(string("Node ") + *name);
 
             RRsetList target;




More information about the bind10-changes mailing list