Skip to content
GitLab
Menu
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
417893fc
Commit
417893fc
authored
Jun 23, 2011
by
Jelte Jansen
Browse files
[trac1004] add zero check as well
parent
8e715d52
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/config/ccsession.cc
View file @
417893fc
...
...
@@ -222,7 +222,8 @@ readLoggersConf(std::vector<isc::log::LoggerSpecification>& specs,
// We could tokenize the string, but if * is used, the string
// should either be "*", or start with "*.", so it's easier to
// look directly
if
(
lname
[
0
]
==
'*'
&&
(
lname
.
length
()
==
1
||
lname
[
1
]
==
'.'
))
{
if
(
lname
.
length
()
>
0
&&
lname
[
0
]
==
'*'
&&
(
lname
.
length
()
==
1
||
lname
[
1
]
==
'.'
))
{
lname
=
isc
::
log
::
getRootLoggerName
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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