summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2015-10-14 20:16:26 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2015-10-14 20:16:26 (GMT)
commit3f0346a55c91a74f80d3e5a844067c858cd281a5 (patch)
tree9729fe66dffaa0edf958acc0beb7a6e78e6d2c7f
parentf48a6c07c20816d8e9bf4ded51373dc1142ca677 (diff)
downloadkasablanca-3f0346a5.zip
kasablanca-3f0346a5.tar.gz
Fix FTP directory listing
Signed-off-by: François Andriot <francois.andriot@free.fr>
-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;