[cpp-xmltooling] 02/02: Reversed a conditional.
Scott Cantor
cantor.2 at osu.edu
Fri Apr 27 14:29:53 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=0c784cab6b52655e3e58bf8b209f1e9331b18cda
commit 0c784cab6b52655e3e58bf8b209f1e9331b18cda
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Apr 27 14:29:47 2018 -0400
Reversed a conditional.
---
xmltooling/util/DirectoryWalker.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xmltooling/util/DirectoryWalker.cpp b/xmltooling/util/DirectoryWalker.cpp
index 4817c5a..08008f9 100644
--- a/xmltooling/util/DirectoryWalker.cpp
+++ b/xmltooling/util/DirectoryWalker.cpp
@@ -116,7 +116,7 @@ void DirectoryWalker::_walk(
else if (startsWith || endsWith) {
string fname(entptr->d_name);
if ((startsWith && !boost::algorithm::starts_with(fname, startsWith)) ||
- (endsWith && boost::algorithm::ends_with(fname, endsWith))) {
+ (endsWith && !boost::algorithm::ends_with(fname, endsWith))) {
continue;
}
}
@@ -142,4 +142,4 @@ void DirectoryWalker::_walk(
}
closedir(d);
#endif
- }
\ No newline at end of file
+ }
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list