Browse Source

remove repeatable type definition, add include (#1642)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1677/head
R4SAS 4 years ago
parent
commit
d3a49e513c
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 3
      libi2pd/Family.cpp
  2. 2
      libi2pd/Reseed.cpp

3
libi2pd/Family.cpp

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include "FS.h"
#include "Log.h"
#include "Family.h"
#include "Config.h"
namespace i2p
{
@ -104,7 +105,7 @@ namespace data @@ -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;

2
libi2pd/Reseed.cpp

@ -503,7 +503,7 @@ namespace data @@ -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