From 385dd8733ab39e014f776cdcdb7a1d50492da051 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 29 Dec 2010 07:02:14 +0000 Subject: [PATCH] - more ftp bugfixes --- source/shared_lib/sources/platform/posix/miniftpclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/platform/posix/miniftpclient.cpp b/source/shared_lib/sources/platform/posix/miniftpclient.cpp index 5ef116d3..076ef4f9 100644 --- a/source/shared_lib/sources/platform/posix/miniftpclient.cpp +++ b/source/shared_lib/sources/platform/posix/miniftpclient.cpp @@ -72,7 +72,7 @@ void FTPClientThread::getMapFromServer(string mapFileName) { FTP_Client_ResultType result = ftp_crt_FAIL; string destFile = this->mapsPath.second + mapFileName; - if(EndsWith(destFile,".mgm") && EndsWith(destFile,".gbm")) { + if(EndsWith(destFile,".mgm") == false && EndsWith(destFile,".gbm") == false) { destFile += ".mgm"; }