projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61088a
)
Make this compile w/o warnings
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Mon, 21 Jan 2002 22:46:02 +0000
(22:46 +0000)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Mon, 21 Jan 2002 22:46:02 +0000
(22:46 +0000)
auth/pam.c
patch
|
blob
|
history
diff --git
a/auth/pam.c
b/auth/pam.c
index e0050a2ad8b27e68384f93d2f6fa34b489d543aa..e86c5e5b332dfe69422fe8e9631f20cd56e95658 100644
(file)
--- a/
auth/pam.c
+++ b/
auth/pam.c
@@
-162,7
+162,6
@@
pam_prep_user(pw)
{
struct pam_conv pam_conv;
pam_handle_t *pamh;
- const char *s;
/* We need to setup a new PAM session for the user we are changing *to*. */
pam_conv.conv = sudo_conv;
@@
-222,7
+221,7
@@
sudo_conv(num_msg, msg, response, appdata_ptr)
p = pm->msg;
/* Read the password. */
pass = tgetpass(p, def_ival(I_PASSWD_TIMEOUT) * 60,
- tgetpass_flags)
)
;
+ tgetpass_flags);
pr->resp = pass ? estrdup(pass) : "";
if (*pr->resp == '\0')
nil_pw = 1; /* empty password */