summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 2749ec8..5850ffb 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1744,7 +1744,7 @@ valid_wild_card_simple(const char *data)
while ((tmpch = *p++))
{
- if (tmpch == '\\')
+ if (tmpch == '\\' && *p)
{
++p;
if (++nonwild >= ConfigFileEntry.min_nonwildcard_simple)