From ad9a2cdc13362f651986e6cc73861bc67d583e71 Mon Sep 17 00:00:00 2001 From: stffrdhrn Date: Mon, 22 Aug 2005 13:33:41 +0000 Subject: [PATCH] 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 --- legacy/ecore/src/lib/ecore_con/ecore_con_dns.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c b/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c index 92377f23c3..49564865c5 100644 --- a/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c +++ b/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c @@ -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);