]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - x11fwd.c
Replace the hacky 'OSSocket' type with a closure.
[PuTTY.git] / x11fwd.c
index d848b218481744ab79159b20a73283470c53cdcc..ba729d1816f90a24642891a6197b7a3ac3946c0c 100644 (file)
--- a/x11fwd.c
+++ b/x11fwd.c
@@ -62,7 +62,7 @@ static int dummy_plug_closing
 static int dummy_plug_receive(Plug p, int urgent, char *data, int len)
 { return 1; }
 static void dummy_plug_sent(Plug p, int bufsize) { }
-static int dummy_plug_accepting(Plug p, OSSocket sock) { return 1; }
+static int dummy_plug_accepting(Plug p, accept_fn_t constructor, accept_ctx_t ctx) { return 1; }
 static const struct plug_function_table dummy_plug = {
     dummy_plug_log, dummy_plug_closing, dummy_plug_receive,
     dummy_plug_sent, dummy_plug_accepting