Enlightenment CVS committal Author : stffrdhrn Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_con Modified Files: ecore_con_dns.c Log Message: 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. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/ecore_con_dns.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ecore_con_dns.c 22 Aug 2005 13:08:20 -0000 1.6 +++ ecore_con_dns.c 22 Aug 2005 13:33:41 -0000 1.7 @@ -121,11 +121,7 @@ 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 @@ { /* TODO */ } - else - printf("WARNING: Weird line in resolv.conf: %s\n", buf); } fclose(file); ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs