glob_word: remove a check that is always false
This commit is contained in:
parent
22085f7d6e
commit
b5da54e6c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user