This should fix the DNS hangs.
authorMichael Jennings <mej@kainx.org>
Wed, 1 Oct 2008 06:17:50 +0000 (06:17 +0000)
committerMichael Jennings <mej@kainx.org>
Wed, 1 Oct 2008 06:17:50 +0000 (06:17 +0000)
SVN revision: 36372

legacy/ecore/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);