BIND 10 trac2377, updated. f2a0e7ce76ed227a7067919a1f44cb33ccf1e826 [2377] style fixes: folded long lines, constify

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 7 04:51:01 UTC 2012


The branch, trac2377 has been updated
       via  f2a0e7ce76ed227a7067919a1f44cb33ccf1e826 (commit)
      from  e6d402802cf16fb0d3c183ea32658e4e7b6e278b (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 f2a0e7ce76ed227a7067919a1f44cb33ccf1e826
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Dec 6 20:50:48 2012 -0800

    [2377] style fixes: folded long lines, constify

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

Summary of changes:
 src/lib/dns/tests/master_loader_unittest.cc |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/master_loader_unittest.cc b/src/lib/dns/tests/master_loader_unittest.cc
index 536836c..8598b47 100644
--- a/src/lib/dns/tests/master_loader_unittest.cc
+++ b/src/lib/dns/tests/master_loader_unittest.cc
@@ -124,7 +124,8 @@ TEST_F(MasterLoaderTest, basicLoad) {
     EXPECT_TRUE(errors_.empty());
     EXPECT_TRUE(warnings_.empty());
 
-    checkRR("example.org", RRType::SOA(), "ns1.example.org. admin.example.org. "
+    checkRR("example.org", RRType::SOA(),
+            "ns1.example.org. admin.example.org. "
             "1234 3600 1800 2419200 7200");
     checkRR("example.org", RRType::NS(), "ns1.example.org.");
     checkRR("www.example.org", RRType::A(), "192.0.2.1");
@@ -140,7 +141,8 @@ TEST_F(MasterLoaderTest, incrementalLoad) {
     EXPECT_TRUE(errors_.empty());
     EXPECT_TRUE(warnings_.empty());
 
-    checkRR("example.org", RRType::SOA(), "ns1.example.org. admin.example.org. "
+    checkRR("example.org", RRType::SOA(),
+            "ns1.example.org. admin.example.org. "
             "1234 3600 1800 2419200 7200");
     checkRR("example.org", RRType::NS(), "ns1.example.org.");
 
@@ -176,9 +178,9 @@ TEST_F(MasterLoaderTest, invalidFile) {
 }
 
 struct ErrorCase {
-    const char* line;
-    const char* problem;
-} error_cases[] = {
+    const char* const line;
+    const char* const problem;
+} const error_cases[] = {
     { "www...   3600    IN  A   192.0.2.1", "Invalid name" },
     { "www      FORTNIGHT   IN  A   192.0.2.1", "Invalid TTL" },
     { "www      3600    XX  A   192.0.2.1", "Invalid class" },



More information about the bind10-changes mailing list