Fix FTP directory listing

Signed-off-by: François Andriot <francois.andriot@free.fr>
pull/2/head
François Andriot 9 years ago committed by Slávek Banko
parent f48a6c07c2
commit 3f0346a55c

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