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:
parent
5bfab0a796
commit
d3a49e513c
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user