From: Daniel Stenberg Date: Sun, 12 Sep 2010 14:37:55 +0000 (+0200) Subject: glob_word: remove a check that is always false X-Git-Tag: curl-7_21_2~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5da54e6c971c66e3133857f1010b49c564d3a9b;p=curl glob_word: remove a check that is always false --- 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;