Browse Source

removed unused parameter

pull/317/head
orignal 9 years ago
parent
commit
06e45bff24
  1. 4
      Reseed.cpp
  2. 2
      Reseed.h

4
Reseed.cpp

@ -48,10 +48,10 @@ namespace data @@ -48,10 +48,10 @@ namespace data
{
auto ind = rand () % httpsReseedHostList.size ();
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";
LogPrint (eLogInfo, "Dowloading SU3 from ", host);

2
Reseed.h

@ -29,7 +29,7 @@ namespace data @@ -29,7 +29,7 @@ namespace data
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 ProcessSU3Stream (std::istream& s);

Loading…
Cancel
Save