1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 20:42:48 -05:00

Remove unused params from cmdline_get_passwd_input.

NFC; I expect this to be a useful simplification for the same reasons
as the previous commit.
This commit is contained in:
Simon Tatham
2018-05-18 07:22:56 +01:00
parent 3692c239d7
commit a486318dad
9 changed files with 10 additions and 10 deletions

View File

@ -325,7 +325,7 @@ int get_userpass_input(prompts_t *p, const unsigned char *in, int inlen)
{
struct gui_data *inst = (struct gui_data *)p->frontend;
int ret;
ret = cmdline_get_passwd_input(p, in, inlen);
ret = cmdline_get_passwd_input(p);
if (ret == -1)
ret = term_get_userpass_input(inst->term, p, in, inlen);
return ret;