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:16:26 +0200
commit3f0346a55c91a74f80d3e5a844067c858cd281a5 (patch)
tree9729fe66dffaa0edf958acc0beb7a6e78e6d2c7f /src
parentf48a6c07c20816d8e9bf4ded51373dc1142ca677 (diff)
downloadkasablanca-3f0346a55c91a74f80d3e5a844067c858cd281a5.tar.gz
kasablanca-3f0346a55c91a74f80d3e5a844067c858cd281a5.zip
Fix FTP directory listing
Signed-off-by: François Andriot <francois.andriot@free.fr>
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;