mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Adding more reseed hosts
Ignore zip files
This commit is contained in:
parent
5b7737ca6d
commit
83bd3c21ca
3 changed files with 14 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue