summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2015-10-14 22:16:26 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-10-14 22:21:26 +0200
commit6e29b7960a90684b67eeab6966b78292ad2b2cee (patch)
tree2f78d224fad5d14d1339660b07e1795a4120bef7 /src
parentaa4f6f7a0497c78ab635c7fdd5cebc2e5da11717 (diff)
downloadkasablanca-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)
Diffstat (limited to 'src')
-rw-r--r--src/ftpthread.cpp4
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;