From: wessels <> Date: Sat, 6 Feb 1999 15:44:13 +0000 (+0000) Subject: bug X-Git-Tag: SQUID_3_0_PRE1~2308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c079f69d8bb843bd9fc475efa6da1ebec295bd0d;p=thirdparty%2Fsquid.git bug --- diff --git a/src/ftp.cc b/src/ftp.cc index 1098dcb095..2d3c2c38b3 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.279 1999/01/29 17:22:42 wessels Exp $ + * $Id: ftp.cc,v 1.280 1999/02/06 08:44:13 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -535,9 +535,9 @@ ftpListParseParts(const char *buf, struct _ftp_flags flags) /* Directory.. name begins with first printable after */ ct = strstr(buf, tokens[2]); ct += strlen(tokens[2]); - while (isspace(*t)) + while (isspace(*ct)) ct++; - if (!*t) + if (!*ct) ct = NULL; } else { /* A file. Name begins after size, with a space in between */