X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=x11fwd.c;h=ba729d1816f90a24642891a6197b7a3ac3946c0c;hb=6f6e9db932589470975ecc23261cd57eb9e710be;hp=d848b218481744ab79159b20a73283470c53cdcc;hpb=8e7b0d0e4b75dbe5239dd7c4197cc60885196a6e;p=PuTTY.git diff --git a/x11fwd.c b/x11fwd.c index d848b218..ba729d18 100644 --- 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