From 7978e6cafe275a67afe91dc595b8e7ea53e10f7d Mon Sep 17 00:00:00 2001 From: serassio <> Date: Sun, 26 Feb 2006 17:39:32 +0000 Subject: [PATCH] Bug #1507 Harmless typo in ftp.c Forward port of 2.5 patch. --- src/ftp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", -- 2.47.2