1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 04:22:47 -05:00

Remove unused params from console_get_userpass_input.

NFC: this is a preliminary refactoring, intended to make my life
easier when I start changing around the APIs used to pass user
keyboard input around. The fewer functions even _have_ such an API,
the less I'll have to do at that point.
This commit is contained in:
Simon Tatham
2018-05-18 07:22:56 +01:00
parent 14a69dc632
commit 3692c239d7
7 changed files with 9 additions and 12 deletions

View File

@ -437,7 +437,7 @@ int get_userpass_input(prompts_t *p, const unsigned char *in, int inlen)
int ret;
ret = cmdline_get_passwd_input(p, in, inlen);
if (ret == -1)
ret = console_get_userpass_input(p, in, inlen);
ret = console_get_userpass_input(p);
return ret;
}