remove repeatable type definition, add include (#1642)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1669/head
R4SAS 3 years ago
parent 5bfab0a796
commit d3a49e513c
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

@ -13,6 +13,7 @@
#include "FS.h"
#include "Log.h"
#include "Family.h"
#include "Config.h"
namespace i2p
{
@ -104,7 +105,7 @@ namespace data
certDir = certsdir + i2p::fs::dirSep + "family";
if (certDir.empty() || !i2p::fs::Exists(certDir))
std::string certDir = i2p::fs::DataDirPath("certificates", "family");
certDir = i2p::fs::DataDirPath("certificates", "family");
std::vector<std::string> files;
int numCertificates = 0;

@ -503,7 +503,7 @@ namespace data
certDir = certsdir + i2p::fs::dirSep + "reseed";
if (certDir.empty() || !i2p::fs::Exists(certDir))
std::string certDir = i2p::fs::DataDirPath("certificates", "reseed");
certDir = i2p::fs::DataDirPath("certificates", "reseed");
std::vector<std::string> files;
int numCertificates = 0;

Loading…
Cancel
Save