Enlightenment CVS committal Author : sebastid Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_con Modified Files: ecore_con_dns.c Log Message: Only run init when count is 1 and shutdown when count is Only run init when count is 1 and shutdown when count is 00 =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/ecore_con_dns.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ecore_con_dns.c 7 Sep 2005 08:30:51 -0000 1.20 +++ ecore_con_dns.c 7 Sep 2005 08:58:07 -0000 1.21 @@ -109,7 +109,7 @@ char *p, *p2; int ret; - if (++dns_init > 1) return dns_init; + if (++dns_init != 1) return dns_init; memset(servers, 0, sizeof(servers)); server_count = 0; @@ -217,7 +217,6 @@ } } - printf("init: %d\n", dns_init); return dns_init; } @@ -227,7 +226,7 @@ Ecore_List2 *l; int i; - if (--dns_init > 0) return dns_init; + if (--dns_init != 0) return dns_init; for (l = (Ecore_List2 *)dns_cache; l;) { @@ -248,7 +247,6 @@ free(search[i]); search_count = 0; - printf("shutdown: %d\n", dns_init); return dns_init; } ------------------------------------------------------- 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