A wise man once said 'There is no need to display warnings about syntax one didn't create and may not fully support'. I otherword, don't complain about anything we don't recongnise.

SVN revision: 16278
This commit is contained in:
stffrdhrn 2005-08-22 13:33:41 +00:00 committed by stffrdhrn
parent 6a13fae932
commit ad9a2cdc13
1 changed files with 1 additions and 7 deletions

View File

@ -121,11 +121,7 @@ ecore_con_dns_init(void)
if (p2)
*p2 = 0;
if ((buf[0] == ';') || (buf[0] == '#'))
{
/* Ignore comment */
}
else if (!strncmp(buf, "nameserver", 10))
if (!strncmp(buf, "nameserver", 10))
{
if (_server_count >= SERVERS) continue;
@ -178,8 +174,6 @@ ecore_con_dns_init(void)
{
/* TODO */
}
else
printf("WARNING: Weird line in resolv.conf: %s\n", buf);
}
fclose(file);