]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - proxy.c
Key rollover: fix the .htaccess files built by Buildscr.
[PuTTY.git] / proxy.c
diff --git a/proxy.c b/proxy.c
index c22f30f4c8b95d49164e529da8d761fedf569607..51754dc304a2e8e4f8db2c8dfd644c7940337301 100644 (file)
--- a/proxy.c
+++ b/proxy.c
@@ -267,8 +267,8 @@ static int plug_proxy_accepting(Plug p,
  * This function can accept a NULL pointer as `addr', in which case
  * it will only check the host name.
  */
-static int proxy_for_destination (SockAddr addr, const char *hostname,
-                                  int port, Conf *conf)
+int proxy_for_destination (SockAddr addr, const char *hostname,
+                           int port, Conf *conf)
 {
     int s = 0, e = 0;
     char hostip[64];
@@ -388,7 +388,8 @@ Socket new_connection(SockAddr addr, char *hostname,
        sk_proxy_write_eof,
        sk_proxy_flush,
        sk_proxy_set_frozen,
-       sk_proxy_socket_error
+       sk_proxy_socket_error,
+        NULL, /* peer_info */
     };
 
     static const struct plug_function_table plug_fn_table = {