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:
dont complain about comments in resolv.conf
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/ecore_con_dns.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ecore_con_dns.c 17 Aug 2005 06:23:58 -0000 1.4
+++ ecore_con_dns.c 21 Aug 2005 15:46:57 -0000 1.5
@@ -121,7 +121,11 @@
if (p2)
*p2 = 0;
- if (!strncmp(buf, "nameserver", 10))
+ if (!strncmp(buf, ";", 1))
+ {
+ /* Ignore comment */
+ }
+ else if (!strncmp(buf, "nameserver", 10))
{
if (_server_count >= SERVERS) continue;
-------------------------------------------------------
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs