mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Move base64 to util/
This commit is contained in:
parent
3668c27db6
commit
89d3d17b28
19 changed files with 38 additions and 41 deletions
|
@ -1,7 +1,7 @@
|
|||
#include <boost/filesystem.hpp>
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <boost/property_tree/ini_parser.hpp>
|
||||
#include "base64.h"
|
||||
#include "util/base64.h"
|
||||
#include "util/util.h"
|
||||
#include "Profiling.h"
|
||||
|
||||
|
@ -52,7 +52,7 @@ namespace data
|
|||
LogPrint (eLogError, "Failed to create directory ", path);
|
||||
return;
|
||||
}
|
||||
const char * chars = GetBase64SubstitutionTable (); // 64 bytes
|
||||
const char * chars = i2p::util::GetBase64SubstitutionTable (); // 64 bytes
|
||||
for (int i = 0; i < 64; i++)
|
||||
{
|
||||
auto path1 = path / (std::string ("p") + chars[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue