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: skip # as well =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/ecore_con_dns.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ecore_con_dns.c 21 Aug 2005 15:46:57 -0000 1.5 +++ ecore_con_dns.c 22 Aug 2005 13:08:20 -0000 1.6 @@ -121,7 +121,7 @@ if (p2) *p2 = 0; - if (!strncmp(buf, ";", 1)) + if ((buf[0] == ';') || (buf[0] == '#')) { /* Ignore comment */ } ------------------------------------------------------- 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