diff options
Diffstat (limited to 'modules/pam_debug')
-rw-r--r-- | modules/pam_debug/pam_debug.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/pam_debug/pam_debug.c b/modules/pam_debug/pam_debug.c index 37bf8b95..0def5160 100644 --- a/modules/pam_debug/pam_debug.c +++ b/modules/pam_debug/pam_debug.c @@ -21,17 +21,11 @@ /* --- authentication management functions --- */ -static int state(pam_handle_t *pamh, const char *text) +static void state(pam_handle_t *pamh, const char *text) { - int retval; - - retval = pam_info (pamh, "%s", text); - - if (retval != PAM_SUCCESS) { + if (pam_info(pamh, "%s", text) != PAM_SUCCESS) { D(("pam_info failed")); } - - return retval; } static int parse_args(int retval, const char *event, |