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
0969103b
Commit
0969103b
authored
Jul 16, 2012
by
Mukund Sivaraman
Browse files
[master] Use a temporary variable in Name::compare()
parent
57373c05
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/name.cc
View file @
0969103b
...
...
@@ -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
...
...
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