]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - proxy.h
Replace the hacky 'OSSocket' type with a closure.
[PuTTY.git] / proxy.h
diff --git a/proxy.h b/proxy.h
index 10a8c67715d42892d3f93d8e369a226cbee8449f..12b47e16de88d3860faee4ab6d7639a07f77e780 100644 (file)
--- a/proxy.h
+++ b/proxy.h
@@ -78,7 +78,8 @@ struct Socket_proxy_tag {
     int sent_bufsize;
 
     /* accepting */
-    OSSocket accepting_sock;
+    accept_fn_t accepting_constructor;
+    accept_ctx_t accepting_ctx;
 
     /* configuration, used to look up proxy settings */
     Conf *conf;