mirror of
https://github.com/moparisthebest/curl
synced 2025-01-09 04:58:00 -05:00
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 '\' */
|
/* escape character, skip '\' */
|
||||||
++pattern;
|
++pattern;
|
||||||
++pos;
|
++pos;
|
||||||
if (*pattern == '\0') /* but no escaping of '\0'! */
|
|
||||||
return GLOB_ERROR;
|
|
||||||
}
|
}
|
||||||
*buf++ = *pattern++; /* copy character to literal */
|
*buf++ = *pattern++; /* copy character to literal */
|
||||||
++pos;
|
++pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user