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
9915ecdc
Commit
9915ecdc
authored
May 19, 2012
by
Michal 'vorner' Vaner
Browse files
[1914] Use .empty() instead of == ""
As this is the better way reportedly.
parent
410df5ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/config/ccsession.cc
View file @
9915ecdc
...
...
@@ -845,7 +845,7 @@ ModuleCCSession::requestMatch(const AsyncRecvRequest& request,
return
(
true
);
}
if
(
!
request
.
is_reply
&&
(
request
.
recipient
==
""
||
(
request
.
recipient
.
empty
()
||
request
.
recipient
==
envelope
->
get
(
"group"
)
->
stringValue
()))
{
// This is the correct command
return
(
true
);
...
...
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