BIND 10 trac2521, updated. 858d5facb7af996524fed919231d5ff55ad54aa4 [2521] constify

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Apr 23 19:20:05 UTC 2013


The branch, trac2521 has been updated
       via  858d5facb7af996524fed919231d5ff55ad54aa4 (commit)
      from  2fdd3551e1012e61c414c475741f0013fce9e11e (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 858d5facb7af996524fed919231d5ff55ad54aa4
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Apr 23 12:20:00 2013 -0700

    [2521] constify

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

Summary of changes:
 src/lib/dns/rdata/in_1/dhcid_49.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata/in_1/dhcid_49.cc b/src/lib/dns/rdata/in_1/dhcid_49.cc
index 01ba370..dc292c6 100644
--- a/src/lib/dns/rdata/in_1/dhcid_49.cc
+++ b/src/lib/dns/rdata/in_1/dhcid_49.cc
@@ -33,7 +33,8 @@ using namespace isc::util::encode;
 
 void
 DHCID::createFromLexer(MasterLexer& lexer) {
-    string digest_txt = lexer.getNextToken(MasterToken::STRING).getString();
+    const string digest_txt =
+        lexer.getNextToken(MasterToken::STRING).getString();
     decodeBase64(digest_txt, digest_);
 
     // RFC4701 states DNS software should consider the RDATA section to



More information about the bind10-changes mailing list