summaryrefslogtreecommitdiffstats
path: root/auth-pam.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-07-28 20:24:07 +0000
committerKevin Steves <stevesk@pobox.com>2002-07-28 20:24:07 +0000
commit6a998ebfa96c93994e9d98cd07f228de95d71a67 (patch)
tree9a4c7872f000d8f9b666cc8bd4df72b562c1cf9c /auth-pam.c
parenta7609f548f2e0be63abe740d7dbdd7d8a4a17eeb (diff)
- (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 39c2ac6a..99b03f45 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -38,7 +38,7 @@ extern char *__progname;
extern int use_privsep;
-RCSID("$Id: auth-pam.c,v 1.53 2002/07/23 00:51:53 stevesk Exp $");
+RCSID("$Id: auth-pam.c,v 1.54 2002/07/28 20:24:08 stevesk Exp $");
#define NEW_AUTHTOK_MSG \
"Warning: Your password has expired, please change it now."
@@ -156,7 +156,7 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg,
break;
case PAM_ERROR_MSG:
case PAM_TEXT_INFO:
- if ((*msg)[count].msg != NULL)
+ if (PAM_MSG_MEMBER(msg, count, msg) != NULL)
fprintf(stderr, "%s\n",
PAM_MSG_MEMBER(msg, count, msg));
reply[count].resp = xstrdup("");