From: serassio <> Date: Sun, 26 Feb 2006 17:39:32 +0000 (+0000) Subject: Bug #1507 Harmless typo in ftp.c X-Git-Tag: SQUID_3_0_PRE4~312 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7978e6cafe275a67afe91dc595b8e7ea53e10f7d;p=thirdparty%2Fsquid.git Bug #1507 Harmless typo in ftp.c Forward port of 2.5 patch. --- diff --git a/src/ftp.cc b/src/ftp.cc index 1e76e6bfe5..5985b1a87d 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.387 2006/02/21 22:42:24 wessels Exp $ + * $Id: ftp.cc,v 1.388 2006/02/26 10:39:32 serassio Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -699,7 +699,7 @@ ftpListParseParts(const char *buf, struct _ftp_flags flags) if (regexec(&scan_ftp_integer, day, 0, NULL, 0) != 0) continue; - if (regexec(&scan_ftp_time, day, 0, NULL, 0) != 0) /* Yr | hh:mm */ + if (regexec(&scan_ftp_time, year, 0, NULL, 0) != 0) /* Yr | hh:mm */ continue; snprintf(tbuf, 128, "%s %2s %5s",