From 896f07bf3c08becc06a881f57fb0ad2160819d45 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sun, 1 Jul 2018 09:49:28 +0100 Subject: [PATCH] ruserpass.c: Return the password typed by the user. Darren Provine reported that entering the password didn't work. This was due to ruserpass() failing to set the password. Fixes 1d4977af. --- sbr/ruserpass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbr/ruserpass.c b/sbr/ruserpass.c index 55694c82..2a1023f8 100644 --- a/sbr/ruserpass.c +++ b/sbr/ruserpass.c @@ -175,7 +175,7 @@ ruserpass(const char *host, char **aname, char **apass, int flags) mypass = *aname; } - *aname = mh_xstrdup(mypass); + *apass = mh_xstrdup(mypass); } } -- 2.56.0