From bc0f3dd15e99db189ae38c04ac660a174b7c27ec Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 2 Jun 2010 23:55:45 +0200 Subject: ftplistparser.c: oops, fix typo in the last commit --- lib/ftplistparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftplistparser.c') diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c index c5a2f8c45..ac6d07675 100644 --- a/lib/ftplistparser.c +++ b/lib/ftplistparser.c @@ -341,7 +341,7 @@ static CURLcode ftp_pl_insert_finfo(struct connectdata *conn, /* filter pattern-corresponding filenames */ if(compare(conn->data->set.fnmatch_data, wc->pattern, finfo->filename) == 0) { /* 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, " -> "))) { add = FALSE; } -- cgit v1.2.3