Fix FTP directory listing

Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit 3f0346a55c)
r14.0.x
François Andriot 9 years ago committed by Slávek Banko
parent aa4f6f7a04
commit 6e29b7960a

@ -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;

Loading…
Cancel
Save