summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index d173f776f..537c9313c 100644
--- a/src/util.c
+++ b/src/util.c
@@ -67,8 +67,6 @@ int stringmatchlen(const char *pattern, int patternLen,
return 0; /* no match */
break;
case '?':
- if (stringLen == 0)
- return 0; /* no match */
string++;
stringLen--;
break;