1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-02-02 06:54:15 +00:00

remove repeatable type definition, add include (#1642)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-06-18 06:40:58 +03:00
parent 5bfab0a796
commit d3a49e513c
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
2 changed files with 3 additions and 2 deletions

View File

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

View File

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