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
2f3467a4
Commit
2f3467a4
authored
Dec 06, 2012
by
JINMEI Tatuya
Browse files
[2377] style fix: don't use result of x&y as a boolean directly
parent
9ea3182d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/master_loader.cc
View file @
2f3467a4
...
...
@@ -119,7 +119,7 @@ public:
// Good, we loaded another one
++
count
;
}
else
if
(
!
(
options_
&
MANY_ERRORS
))
{
}
else
if
((
options_
&
MANY_ERRORS
)
==
0
)
{
return
(
true
);
}
}
catch
(
const
isc
::
Exception
&
e
)
{
...
...
@@ -127,7 +127,7 @@ public:
callbacks_
.
error
(
lexer_
.
getSourceName
(),
lexer_
.
getSourceLine
(),
e
.
what
());
if
(
options_
&
MANY_ERRORS
)
{
if
(
(
options_
&
MANY_ERRORS
)
!=
0
)
{
// We want to continue. Try to read until the end of line
bool
end
=
false
;
do
{
...
...
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