diff options
author | François Andriot <francois.andriot@free.fr> | 2015-10-14 22:16:26 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-10-14 22:21:26 +0200 |
commit | 6e29b7960a90684b67eeab6966b78292ad2b2cee (patch) | |
tree | 2f78d224fad5d14d1339660b07e1795a4120bef7 | |
parent | aa4f6f7a0497c78ab635c7fdd5cebc2e5da11717 (diff) | |
download | kasablanca-6e29b7960a90684b67eeab6966b78292ad2b2cee.tar.gz kasablanca-6e29b7960a90684b67eeab6966b78292ad2b2cee.zip |
Fix FTP directory listing
Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit 3f0346a55c91a74f80d3e5a844067c858cd281a5)
-rw-r--r-- | src/ftpthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |