BIND 10 trac1113, updated. 5d6fde4aa0d2a93945276dd722be48e05da72faf [1113] trivial editorial fixes: folded long lines

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Aug 10 01:25:50 UTC 2011


The branch, trac1113 has been updated
       via  5d6fde4aa0d2a93945276dd722be48e05da72faf (commit)
      from  19c8c07e6e1601180f85f7aad145f00112f3f8a4 (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 5d6fde4aa0d2a93945276dd722be48e05da72faf
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Aug 9 18:25:26 2011 -0700

    [1113] trivial editorial fixes: folded long lines

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

Summary of changes:
 src/lib/dns/rdata/generic/minfo_14.cc     |    4 +++-
 src/lib/dns/tests/rdata_minfo_unittest.cc |    3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata/generic/minfo_14.cc b/src/lib/dns/rdata/generic/minfo_14.cc
index d40a833..d7a8c13 100644
--- a/src/lib/dns/rdata/generic/minfo_14.cc
+++ b/src/lib/dns/rdata/generic/minfo_14.cc
@@ -78,7 +78,9 @@ MINFO::MINFO(const std::string& minfo_str) :
 /// \exception std::bad_alloc Memory allocation for names fails.
 /// \exception Other The constructor of the \c Name class will throw if the
 /// names in the wire is invalid.
-MINFO::MINFO(InputBuffer& buffer, size_t) : rmailbox_(buffer), emailbox_(buffer) {
+MINFO::MINFO(InputBuffer& buffer, size_t) :
+    rmailbox_(buffer), emailbox_(buffer)
+{
 }
 
 /// \brief Copy constructor.
diff --git a/src/lib/dns/tests/rdata_minfo_unittest.cc b/src/lib/dns/tests/rdata_minfo_unittest.cc
index 0f5ff13..99945c6 100644
--- a/src/lib/dns/tests/rdata_minfo_unittest.cc
+++ b/src/lib/dns/tests/rdata_minfo_unittest.cc
@@ -79,7 +79,8 @@ TEST_F(Rdata_MINFO_Test, badText) {
     EXPECT_THROW(generic::MINFO("root.example.com."),
                  InvalidRdataText);
     // bad name
-    EXPECT_THROW(generic::MINFO("root.example.com. emailbx.example.com." + too_long_label),
+    EXPECT_THROW(generic::MINFO("root.example.com. emailbx.example.com." +
+                                too_long_label),
                  TooLongLabel);
 }
 




More information about the bind10-changes mailing list