summaryrefslogtreecommitdiff
path: root/src/resv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resv.c')
-rw-r--r--src/resv.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/resv.c b/src/resv.c
index 1f5b057..29380b2 100644
--- a/src/resv.c
+++ b/src/resv.c
@@ -186,34 +186,3 @@ match_find_resv(const char *name)
return NULL;
}
-
-/* valid_wild_card_simple()
- *
- * inputs - data to check for sufficient non-wildcard characters
- * outputs - 1 if valid, else 0
- * side effects - none
- */
-int
-valid_wild_card_simple(const char *data)
-{
- const unsigned char *p = (const unsigned char *)data;
- unsigned char tmpch = '\0';
- int nonwild = 0;
-
- while ((tmpch = *p++))
- {
- if (tmpch == '\\')
- {
- ++p;
- if (++nonwild >= ConfigFileEntry.min_nonwildcard_simple)
- return 1;
- }
- else if (!IsMWildChar(tmpch))
- {
- if (++nonwild >= ConfigFileEntry.min_nonwildcard_simple)
- return 1;
- }
- }
-
- return 0;
-}