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