From 06e45bff24e25e9f904daa2142592927b18a165f Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 21 Dec 2015 09:33:09 -0500 Subject: [PATCH] removed unused parameter --- Reseed.cpp | 4 ++-- Reseed.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Reseed.cpp b/Reseed.cpp index e787ba71..4d363460 100644 --- a/Reseed.cpp +++ b/Reseed.cpp @@ -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); diff --git a/Reseed.h b/Reseed.h index aec8389c..560a31d3 100644 --- a/Reseed.h +++ b/Reseed.h @@ -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);