X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/79bf227ba7ba02e32ac710621b672e2789f9ef50..f89c329410c18fe1f09d843747fad77babb9f89c:/raw.c 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 };