Support for doing DNS at the proxy end. I've invented a new type of
[u/mdw/putty] / x11fwd.c
index 033184b..35d1d17 100644 (file)
--- a/x11fwd.c
+++ b/x11fwd.c
@@ -1,4 +1,3 @@
-#include <windows.h>
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -178,7 +177,7 @@ char *x11_init(Socket * s, char *display, void *c, void *auth)
     /*
      * Try to find host.
      */
-    addr = sk_namelookup(host, &dummy_realhost);
+    addr = name_lookup(host, port, &dummy_realhost);
     if ((err = sk_addr_error(addr)))
        return err;