Adding more reseed hosts

Ignore zip files
This commit is contained in:
Meeh 2014-01-31 07:31:06 +01:00
parent 5b7737ca6d
commit 83bd3c21ca
3 changed files with 14 additions and 6 deletions

View file

@ -40,9 +40,13 @@ namespace data
std::string routerInfo;
std::string tmpUrl;
std::string filename;
std::string ignoreFileSuffix = ".zip";
while (i != j)
{
//TODO: Ugly code, try to clean up.
name = *i++;
if (name.find(ignoreFileSuffix)!=std::string::npos)
continue;
LogPrint("Downloading ", name);
tmpUrl = reseedHost;
tmpUrl.append(name);