Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
89e55463
Commit
89e55463
authored
Jul 16, 2012
by
Mukund Sivaraman
Browse files
[master] Use temporary variables in Name::compare()
parent
03f0b4d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/name.cc
View file @
89e55463
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment