mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
skip comment address line
This commit is contained in:
@@ -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('=');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user