X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=raw.c;h=631320c0f8f20376e82f5b955d9a79af552c9a42;hb=49204fe4107d8af3167fc940238f48113173fd92;hp=8c1f97fd15e8a8f6b5a800716dbe1d23b26165b8;hpb=20f433efac8908e7024b3ae78fd8f6d3313f4d09;p=PuTTY.git diff --git a/raw.c b/raw.c index 8c1f97fd..631320c0 100644 --- a/raw.c +++ b/raw.c @@ -37,6 +37,7 @@ static int raw_closing(Plug plug, const char *error_msg, int error_code, if (raw->s) { sk_close(raw->s); raw->s = NULL; + notify_remote_exit(raw->frontend); } if (error_msg) { /* A socket error has occurred. */ @@ -235,6 +236,14 @@ static int raw_exitcode(void *handle) return 0; } +/* + * cfg_info for Raw does nothing at all. + */ +static int raw_cfg_info(void *handle) +{ + return 0; +} + Backend raw_backend = { raw_init, raw_free, @@ -251,5 +260,6 @@ Backend raw_backend = { raw_provide_ldisc, raw_provide_logctx, raw_unthrottle, + raw_cfg_info, 1 };