- more ftp bugfixes

This commit is contained in:
Mark Vejvoda
2010-12-29 07:35:31 +00:00
parent 5e705d31c8
commit 99132eb23c
3 changed files with 13 additions and 5 deletions

View File

@@ -78,7 +78,6 @@ void FTPClientThread::getMapFromServer(string mapFileName) {
destFile += destFileExt;
}
struct FtpFile ftpfile = {
destFile.c_str(), /* name to store the file as if succesful */
NULL
@@ -149,7 +148,7 @@ void FTPClientThread::getMapFromServer(string mapFileName) {
}
if(result != ftp_crt_SUCCESS && EndsWith(destFile,".mgm")) {
destFile = this->mapsPath.second + mapFileName + ".gbm";
destFile = mapFileName + ".gbm";
getMapFromServer(destFile);
}