This should fix the DNS hangs.
authormej <mej@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 1 Oct 2008 06:17:50 +0000 (06:17 +0000)
committermej <mej@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 1 Oct 2008 06:17:50 +0000 (06:17 +0000)
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

index 8507108..783b5c4 100644 (file)
@@ -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);