summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2011-08-09 13:01:05 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-08-25 15:46:11 -0400
commit99dd40a885ed3d42af4bbbde7ee2fc98830544d0 (patch)
tree52cbd2a20ff339f751a6f08a1af78ace5563a924 /src/providers/data_provider.h
parent267bdd44fc55e064412177b7a67c7a047c912177 (diff)
downloadsssd-99dd40a885ed3d42af4bbbde7ee2fc98830544d0.tar.gz
sssd-99dd40a885ed3d42af4bbbde7ee2fc98830544d0.tar.xz
sssd-99dd40a885ed3d42af4bbbde7ee2fc98830544d0.zip
New DEBUG facility - conversion
https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
Diffstat (limited to 'src/providers/data_provider.h')
-rw-r--r--src/providers/data_provider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h
index e699e08f4..c666072d3 100644
--- a/src/providers/data_provider.h
+++ b/src/providers/data_provider.h
@@ -140,7 +140,7 @@
/* AUTH related common data and functions */
#define DEBUG_PAM_DATA(level, pd) do { \
- if (level <= debug_level) pam_print_data(level, pd); \
+ if (DEBUG_IS_SET(debug_get_level(level))) pam_print_data(level, pd); \
} while(0);