1
0
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:
orignal 2017-05-05 13:54:21 -04:00
parent 124e2e759c
commit d95ee55497

View File

@ -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('=');