BIND 10 trac2124, updated. d448a7e8c847e7842e5cb3c92e8ea673fba9544d [2124] trivial style fixes: folded long lines; brace position

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jul 19 17:45:07 UTC 2012


The branch, trac2124 has been updated
       via  d448a7e8c847e7842e5cb3c92e8ea673fba9544d (commit)
      from  50d012ed556335386d1340f21c1acaeecb2dd357 (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 d448a7e8c847e7842e5cb3c92e8ea673fba9544d
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Jul 19 10:44:02 2012 -0700

    [2124] trivial style fixes: folded long lines; brace position
    
    unrelated to the ticket, but this would be a good opportunity to fix these
    trivial things.

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

Summary of changes:
 src/lib/dns/rdata/generic/sshfp_44.cc |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata/generic/sshfp_44.cc b/src/lib/dns/rdata/generic/sshfp_44.cc
index 5440880..5d65b00 100644
--- a/src/lib/dns/rdata/generic/sshfp_44.cc
+++ b/src/lib/dns/rdata/generic/sshfp_44.cc
@@ -35,8 +35,7 @@ using namespace isc::util::encode;
 // BEGIN_ISC_NAMESPACE
 // BEGIN_RDATA_NAMESPACE
 
-SSHFP::SSHFP(InputBuffer& buffer, size_t rdata_len)
-{
+SSHFP::SSHFP(InputBuffer& buffer, size_t rdata_len) {
     if (rdata_len < 2) {
       isc_throw(InvalidRdataLength, "SSHFP record too short");
     }
@@ -49,8 +48,7 @@ SSHFP::SSHFP(InputBuffer& buffer, size_t rdata_len)
     buffer.readData(&fingerprint_[0], rdata_len);
 }
 
-SSHFP::SSHFP(const std::string& sshfp_str)
-{
+SSHFP::SSHFP(const std::string& sshfp_str) {
     std::istringstream iss(sshfp_str);
     // peekc should be of iss's char_type for isspace to work
     std::istringstream::char_type peekc;
@@ -74,7 +72,8 @@ SSHFP::SSHFP(const std::string& sshfp_str)
     decodeHex(fingerprintbuf.str(), fingerprint_);
 }
 
-SSHFP::SSHFP(uint8_t algorithm, uint8_t fingerprint_type, const std::string& fingerprint)
+SSHFP::SSHFP(uint8_t algorithm, uint8_t fingerprint_type,
+             const std::string& fingerprint)
 {
     algorithm_ = algorithm;
     fingerprint_type_ = fingerprint_type;
@@ -82,7 +81,9 @@ SSHFP::SSHFP(uint8_t algorithm, uint8_t fingerprint_type, const std::string& fin
 }
 
 SSHFP::SSHFP(const SSHFP& other) :
-  Rdata(), algorithm_(other.algorithm_), fingerprint_type_(other.fingerprint_type_), fingerprint_(other.fingerprint_)
+  Rdata(), algorithm_(other.algorithm_),
+  fingerprint_type_(other.fingerprint_type_),
+  fingerprint_(other.fingerprint_)
 {}
 
 void



More information about the bind10-changes mailing list