From 93e1649d214526f34527f57d3cbcb5d734fc4dd4 Mon Sep 17 00:00:00 2001 From: mej Date: Wed, 1 Oct 2008 06:17:50 +0000 Subject: [PATCH] This should fix the DNS hangs. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@36372 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con_dns.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.7.4