diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-07-28 20:24:07 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-07-28 20:24:07 +0000 |
commit | 6a998ebfa96c93994e9d98cd07f228de95d71a67 (patch) | |
tree | 9a4c7872f000d8f9b666cc8bd4df72b562c1cf9c /auth-pam.c | |
parent | a7609f548f2e0be63abe740d7dbdd7d8a4a17eeb (diff) |
- (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(""); |