BIND 10 master, updated. 89e55463089c5ba1de443c4bb17a5b1782a01e89 [master] Use temporary variables in Name::compare()
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Jul 15 21:12:24 UTC 2012
The branch, master has been updated
via 89e55463089c5ba1de443c4bb17a5b1782a01e89 (commit)
from 03f0b4d031e117cfd5ed21bcb43b4c1375c732bf (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 89e55463089c5ba1de443c4bb17a5b1782a01e89
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Jul 16 02:41:51 2012 +0530
[master] Use temporary variables in Name::compare()
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/name.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/name.cc b/src/lib/dns/name.cc
index bd24bda..5ea339d 100644
--- a/src/lib/dns/name.cc
+++ b/src/lib/dns/name.cc
@@ -435,8 +435,9 @@ Name::toText(bool omit_final_dot) const {
NameComparisonResult
Name::compare(const Name& other) const {
- LabelSequence ls(*this);
- return (ls.compare(LabelSequence(other)));
+ const LabelSequence ls1(*this);
+ const LabelSequence ls2(other);
+ return (ls1.compare(ls2));
}
bool
More information about the bind10-changes
mailing list