BIND 10 master, updated. 0969103b09073cc57fcbfad057c9c937d72c662e [master] Use a temporary variable in Name::compare()

BIND 10 source code commits bind10-changes at lists.isc.org
Sun Jul 15 20:45:09 UTC 2012


The branch, master has been updated
       via  0969103b09073cc57fcbfad057c9c937d72c662e (commit)
      from  57373c058d2370f5c1fd041e466f8ee5eecfcf47 (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 0969103b09073cc57fcbfad057c9c937d72c662e
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Jul 16 02:14:08 2012 +0530

    [master] Use a temporary variable in Name::compare()

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

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

-----------------------------------------------------------------------
diff --git a/src/lib/dns/name.cc b/src/lib/dns/name.cc
index c6f0c23..bd24bda 100644
--- a/src/lib/dns/name.cc
+++ b/src/lib/dns/name.cc
@@ -435,7 +435,8 @@ Name::toText(bool omit_final_dot) const {
 
 NameComparisonResult
 Name::compare(const Name& other) const {
-    return LabelSequence(*this).compare(LabelSequence(other));
+    LabelSequence ls(*this);
+    return (ls.compare(LabelSequence(other)));
 }
 
 bool



More information about the bind10-changes mailing list