summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWalter de Jong <walter.dejong@surfsara.nl>2014-08-06 16:49:15 +0200
committerWalter de Jong <walter.dejong@surfsara.nl>2014-08-06 16:50:33 +0200
commitb061e094c70f139e78f8a7803d11f7f76ade6c75 (patch)
treec101990835fdef1eb7be5f019ed90c21f70df3a6 /src
parentb5552f23be2531ad4edd647be342ebef6b13b81d (diff)
downloadlibpam-radius-auth-b061e094c70f139e78f8a7803d11f7f76ade6c75.tar.gz
libpam-radius-auth-b061e094c70f139e78f8a7803d11f7f76ade6c75.zip
use DPRINT for logging debug messages
Diffstat (limited to 'src')
-rw-r--r--src/pam_radius_auth.c4
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);