diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wildcard.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp index 2243bc882..f888b68cf 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -140,3 +140,9 @@ bool match(bool case_sensitive, const char *str, const char *mask, bool use_cidr return true; return csmatch(str, mask); } + +bool match(bool case_sensitive, const char *str, const char *mask) +{ + return case_sensitive ? csmatch(str, mask) : match(str, mask); +} + |