]> granicus.if.org Git - sudo/commitdiff
pass use and host to tgetpass
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 29 Aug 1996 21:58:17 +0000 (21:58 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 29 Aug 1996 21:58:17 +0000 (21:58 +0000)
check.c

diff --git a/check.c b/check.c
index 024ff5794772725dc212474192ca44f6f5a4275d..09ccfc7d0e99a10ac86c56fded5e130287489c94 100644 (file)
--- a/check.c
+++ b/check.c
@@ -480,7 +480,7 @@ static void check_passwd()
        pass = (char *) getpass(prompt);
 #  endif /* HAVE_KERB4 */
 #else
-       pass = tgetpass(prompt, PASSWORD_TIMEOUT * 60);
+       pass = tgetpass(prompt, PASSWORD_TIMEOUT * 60, user_name, host);
 #endif /* USE_GETPASS */
 
        /* Exit loop on nil password */