mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
skip comment address line
This commit is contained in:
parent
124e2e759c
commit
d95ee55497
@ -355,8 +355,8 @@ namespace client
|
|||||||
{
|
{
|
||||||
getline(f, s);
|
getline(f, s);
|
||||||
|
|
||||||
if (!s.length())
|
if (!s.length() || s[0] == '#')
|
||||||
continue; // skip empty line
|
continue; // skip empty or comment line
|
||||||
|
|
||||||
size_t pos = s.find('=');
|
size_t pos = s.find('=');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user