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