1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Cosmetic fix: silly parameter name caused by copy-paste.

In SSH-1 there's a function that takes a void * that it casts to the
state of the login layer. The corresponding function in SSH-2 casts it
to the state of a differently named layer, but I had still called the
parameter 'loginv'.
This commit is contained in:
Simon Tatham 2021-12-27 11:43:31 +00:00
parent 831accb2a9
commit 60e557575e

View File

@ -1815,9 +1815,9 @@ static bool ssh2_transport_timer_update(struct ssh2_transport_state *s,
return false;
}
void ssh2_transport_dialog_callback(void *loginv, int ret)
void ssh2_transport_dialog_callback(void *vctx, int ret)
{
struct ssh2_transport_state *s = (struct ssh2_transport_state *)loginv;
struct ssh2_transport_state *s = (struct ssh2_transport_state *)vctx;
s->dlgret = ret;
ssh_ppl_process_queue(&s->ppl);
}