mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 00:12:49 +02:00
- more ftp updates
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <curl/curl.h>
|
||||
#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace Shared::Util;
|
||||
using namespace Shared::PlatformCommon;
|
||||
@@ -150,7 +151,9 @@ void FTPClientThread::getMapFromServer(string mapFileName) {
|
||||
|
||||
void FTPClientThread::addMapToRequests(string mapFilename) {
|
||||
MutexSafeWrapper safeMutex(&mutexMapFileList);
|
||||
mapFileList.push_back(mapFilename);
|
||||
if(std::find(mapFileList.begin(),mapFileList.end(),mapFilename) == mapFileList.end()) {
|
||||
mapFileList.push_back(mapFilename);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user