mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-09 23:33:46 -05:00
Loose end from r5031: the Kex panel should only be displayed in
mid-session if we are not using SSHv1. I've done this by introducing
a generic `cfg_info' function which every back end can use to
communicate an int's worth of data to setup_config_box; in SSH
that's the protocol version in use, and in everything else it's
currently zero.
[originally from svn r5040]
[r5031 == d77102a8d5
]
This commit is contained in:
9
telnet.c
9
telnet.c
@ -1050,6 +1050,14 @@ static int telnet_exitcode(void *handle)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* cfg_info for Telnet does nothing at all.
|
||||
*/
|
||||
static int telnet_cfg_info(void *handle)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Backend telnet_backend = {
|
||||
telnet_init,
|
||||
telnet_free,
|
||||
@ -1066,5 +1074,6 @@ Backend telnet_backend = {
|
||||
telnet_provide_ldisc,
|
||||
telnet_provide_logctx,
|
||||
telnet_unthrottle,
|
||||
telnet_cfg_info,
|
||||
23
|
||||
};
|
||||
|
Reference in New Issue
Block a user