BIND 10 track1914, updated. 9915ecdc183e64e22ba51f233d1667ad3091972a [1914] Use .empty() instead of == ""
BIND 10 source code commits
bind10-changes at lists.isc.org
Sat May 19 17:19:17 UTC 2012
The branch, track1914 has been updated
via 9915ecdc183e64e22ba51f233d1667ad3091972a (commit)
from 410df5ee446d69d53ca45e21307d07c54b5b2b76 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9915ecdc183e64e22ba51f233d1667ad3091972a
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Sat May 19 19:05:21 2012 +0200
[1914] Use .empty() instead of == ""
As this is the better way reportedly.
-----------------------------------------------------------------------
Summary of changes:
src/lib/config/ccsession.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/config/ccsession.cc b/src/lib/config/ccsession.cc
index a7ab9df..d4c6653 100644
--- a/src/lib/config/ccsession.cc
+++ b/src/lib/config/ccsession.cc
@@ -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);
More information about the bind10-changes
mailing list