mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-21 23:54:14 +00:00
* Config.cpp : don't try to parse config, if path is empty
This commit is contained in:
parent
e6e2f04a10
commit
022642f4d5
@ -118,6 +118,9 @@ namespace config {
|
||||
}
|
||||
|
||||
void ParseConfig(const std::string& path) {
|
||||
if (path == "")
|
||||
return;
|
||||
|
||||
std::ifstream config(path, std::ios::in);
|
||||
|
||||
if (!config.is_open()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user