mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Make 'LogContext' a typedef visible throughout the code.
Same principle again - the more of these structures have globally visible tags (even if the structure contents are still opaque in most places), the fewer of them I can mistake for each other.
This commit is contained in:
4
ssh.c
4
ssh.c
@ -701,7 +701,7 @@ struct ssh_tag {
|
||||
const Plug_vtable *plugvt;
|
||||
|
||||
Ldisc *ldisc;
|
||||
void *logctx;
|
||||
LogContext *logctx;
|
||||
|
||||
unsigned char session_key[32];
|
||||
int v1_remote_protoflags;
|
||||
@ -11434,7 +11434,7 @@ static void ssh_provide_ldisc(void *handle, Ldisc *ldisc)
|
||||
ssh->ldisc = ldisc;
|
||||
}
|
||||
|
||||
static void ssh_provide_logctx(void *handle, void *logctx)
|
||||
static void ssh_provide_logctx(void *handle, LogContext *logctx)
|
||||
{
|
||||
Ssh ssh = (Ssh) handle;
|
||||
ssh->logctx = logctx;
|
||||
|
Reference in New Issue
Block a user