From 6e29b7960a90684b67eeab6966b78292ad2b2cee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 14 Oct 2015 22:16:26 +0200 Subject: Fix FTP directory listing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot (cherry picked from commit 3f0346a55c91a74f80d3e5a844067c858cd281a5) --- src/ftpthread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ftpthread.cpp b/src/ftpthread.cpp index dda0463..17a0f1f 100644 --- a/src/ftpthread.cpp +++ b/src/ftpthread.cpp @@ -1094,8 +1094,8 @@ void FtpThread::Event(EventHandler::EventType type, void *data) bool FtpThread::FormatFilelist(const char *filename, TQString current, filist *dirtable, filist *filetable) { - int i, blocks, space, month_int = 1; - unsigned int loc, fileloc, datebegin, sizebegin = 0; + int i, blocks, space, month_int = 1, loc; + unsigned int fileloc, datebegin, sizebegin = 0; string buffer, filestring; FILE* dirfile; -- cgit v1.2.1