mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
removed unused parameter
This commit is contained in:
parent
2635a658d0
commit
06e45bff24
@ -48,10 +48,10 @@ namespace data
|
|||||||
{
|
{
|
||||||
auto ind = rand () % httpsReseedHostList.size ();
|
auto ind = rand () % httpsReseedHostList.size ();
|
||||||
std::string& reseedHost = httpsReseedHostList[ind];
|
std::string& reseedHost = httpsReseedHostList[ind];
|
||||||
return ReseedFromSU3 (reseedHost, true);
|
return ReseedFromSU3 (reseedHost);
|
||||||
}
|
}
|
||||||
|
|
||||||
int Reseeder::ReseedFromSU3 (const std::string& host, bool https)
|
int Reseeder::ReseedFromSU3 (const std::string& host)
|
||||||
{
|
{
|
||||||
std::string url = host + "i2pseeds.su3";
|
std::string url = host + "i2pseeds.su3";
|
||||||
LogPrint (eLogInfo, "Dowloading SU3 from ", host);
|
LogPrint (eLogInfo, "Dowloading SU3 from ", host);
|
||||||
|
2
Reseed.h
2
Reseed.h
@ -29,7 +29,7 @@ namespace data
|
|||||||
|
|
||||||
void LoadCertificate (const std::string& filename);
|
void LoadCertificate (const std::string& filename);
|
||||||
|
|
||||||
int ReseedFromSU3 (const std::string& host, bool https = false);
|
int ReseedFromSU3 (const std::string& host);
|
||||||
int ProcessSU3File (const char * filename);
|
int ProcessSU3File (const char * filename);
|
||||||
int ProcessSU3Stream (std::istream& s);
|
int ProcessSU3Stream (std::istream& s);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user