mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
ftplistparser.c: oops, fix typo in the last commit
This commit is contained in:
parent
475c19c42b
commit
bc0f3dd15e
@ -341,7 +341,7 @@ static CURLcode ftp_pl_insert_finfo(struct connectdata *conn,
|
|||||||
/* filter pattern-corresponding filenames */
|
/* filter pattern-corresponding filenames */
|
||||||
if(compare(conn->data->set.fnmatch_data, wc->pattern, finfo->filename) == 0) {
|
if(compare(conn->data->set.fnmatch_data, wc->pattern, finfo->filename) == 0) {
|
||||||
/* discard symlink which is containing multiple " -> " */
|
/* discard symlink which is containing multiple " -> " */
|
||||||
if((finfo->filetype == CURLFILETYPE_SYMLINK) && finfo->strings.target
|
if((finfo->filetype == CURLFILETYPE_SYMLINK) && finfo->strings.target &&
|
||||||
(strstr(finfo->strings.target, " -> "))) {
|
(strstr(finfo->strings.target, " -> "))) {
|
||||||
add = FALSE;
|
add = FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user