summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
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 ce4984532..dfaaacdc7 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -33,7 +33,7 @@
33#include "canohost.h" 33#include "canohost.h"
34#include "readpass.h" 34#include "readpass.h"
35 35
36RCSID("$Id: auth-pam.c,v 1.31 2001/02/28 22:18:58 djm Exp $"); 36RCSID("$Id: auth-pam.c,v 1.32 2001/03/21 01:16:25 djm Exp $");
37 37
38#define NEW_AUTHTOK_MSG \ 38#define NEW_AUTHTOK_MSG \
39 "Warning: Your password has expired, please change it now" 39 "Warning: Your password has expired, please change it now"
@@ -172,7 +172,7 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg,
172/* Called at exit to cleanly shutdown PAM */ 172/* Called at exit to cleanly shutdown PAM */
173void do_pam_cleanup_proc(void *context) 173void do_pam_cleanup_proc(void *context)
174{ 174{
175 int pam_retval; 175 int pam_retval = PAM_SUCCESS;
176 176
177 if (__pamh && session_opened) { 177 if (__pamh && session_opened) {
178 pam_retval = pam_close_session(__pamh, 0); 178 pam_retval = pam_close_session(__pamh, 0);