skip # as well

SVN revision: 16277
This commit is contained in:
stffrdhrn 2005-08-22 13:08:20 +00:00 committed by stffrdhrn
parent 074dfd7638
commit 6a13fae932
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ ecore_con_dns_init(void)
if (p2)
*p2 = 0;
if (!strncmp(buf, ";", 1))
if ((buf[0] == ';') || (buf[0] == '#'))
{
/* Ignore comment */
}