mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Adding more reseed hosts
Ignore zip files
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user