diff options
-rw-r--r-- | src/urlglob.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/urlglob.c b/src/urlglob.c index 8435b250d..e49b762f5 100644 --- a/src/urlglob.c +++ b/src/urlglob.c @@ -273,8 +273,6 @@ static GlobCode glob_word(URLGlob *glob, char *pattern, /* escape character, skip '\' */ ++pattern; ++pos; - if (*pattern == '\0') /* but no escaping of '\0'! */ - return GLOB_ERROR; } *buf++ = *pattern++; /* copy character to literal */ ++pos; |