diff options
-rw-r--r-- | src/pam_radius_auth.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pam_radius_auth.c b/src/pam_radius_auth.c index a88acae..5ef44e0 100644 --- a/src/pam_radius_auth.c +++ b/src/pam_radius_auth.c @@ -1222,9 +1222,7 @@ error: } } - if (ctrl & PAM_DEBUG_ARG) { - _pam_log(LOG_DEBUG, "authentication %s", retval==PAM_SUCCESS ? "succeeded":"failed"); - } + DPRINT(LOG_DEBUG, "authentication %s", retval==PAM_SUCCESS ? "succeeded":"failed"); close(config.sockfd); cleanup(config.server); |