Browse Source

skip comment address line

pull/869/head
orignal 8 years ago
parent
commit
d95ee55497
  1. 4
      libi2pd_client/AddressBook.cpp

4
libi2pd_client/AddressBook.cpp

@ -355,8 +355,8 @@ namespace client @@ -355,8 +355,8 @@ namespace client
{
getline(f, s);
if (!s.length())
continue; // skip empty line
if (!s.length() || s[0] == '#')
continue; // skip empty or comment line
size_t pos = s.find('=');

Loading…
Cancel
Save