mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-13 08:17:38 +01:00
skip comment address line
This commit is contained in:
parent
124e2e759c
commit
d95ee55497
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue