]> granicus.if.org Git - sudo/commitdiff
use shost, not host for tgetpass
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Aug 1996 14:49:55 +0000 (14:49 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Aug 1996 14:49:55 +0000 (14:49 +0000)
check.c

diff --git a/check.c b/check.c
index 5285493c49696c0ef109606cc3793f2fedade219..f71d6227dbd257d806ae2ac97efa405f470dd81d 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, user_name, host);
+       pass = tgetpass(prompt, PASSWORD_TIMEOUT * 60, user_name, shost);
 #endif /* USE_GETPASS */
 
        /* Exit loop on nil password */