diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 16:22:43 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-23 16:22:43 -0800 |
commit | faa1100d229aef56da5d48f5c19ec901e520f8ef (patch) | |
tree | 4f5bf875d05a91905ace8766c3d342770474eda9 /source3/lib/ldap_debug_handler.c | |
parent | bcd6e5ec3315b14cedf7437a70c34d233ded082e (diff) | |
download | samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.tar.gz samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.tar.bz2 samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.zip |
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/lib/ldap_debug_handler.c')
-rw-r--r-- | source3/lib/ldap_debug_handler.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/lib/ldap_debug_handler.c b/source3/lib/ldap_debug_handler.c index 2181ff014d..98623d1985 100644 --- a/source3/lib/ldap_debug_handler.c +++ b/source3/lib/ldap_debug_handler.c @@ -19,13 +19,11 @@ #include "includes.h" -#if HAVE_LDAP - +#if defined(HAVE_LDAP) && defined(HAVE_LBER_LOG_PRINT_FN) static void samba_ldap_log_print_fn(LDAP_CONST char *data) { DEBUG(lp_ldap_debug_threshold(), ("[LDAP] %s", data)); } - #endif void init_ldap_debugging(void) |