From: mej Date: Wed, 1 Oct 2008 06:17:50 +0000 (+0000) Subject: This should fix the DNS hangs. X-Git-Tag: accepted/2.0/20130306.224007~195^2~1779 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1e9bd154e23a2a60afb85fa0389341807840499;p=profile%2Fivi%2Fecore.git This should fix the DNS hangs. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@36372 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con_dns.c b/src/lib/ecore_con/ecore_con_dns.c index 8507108..783b5c4 100644 --- a/src/lib/ecore_con/ecore_con_dns.c +++ b/src/lib/ecore_con/ecore_con_dns.c @@ -120,6 +120,10 @@ ecore_con_dns_lookup(const char *name, sizeof(struct in_addr)); write(fd[1], &(addr.s_addr), sizeof(in_addr_t)); } + else + { + write(fd[1], "", 1); + } close(fd[1]); # ifdef __USE_ISOC99 _Exit(0);