ITS#8731 Make loading ldap-int.h possible from server code again

This commit is contained in:
Ondřej Kuzník 2019-02-19 17:14:26 +00:00
parent 117dcbc54d
commit e6ae7d5136

View file

@ -71,7 +71,10 @@
# define LDAP_INT_GLOBAL_OPT() (&ldap_int_global_options)
#endif
/* if used from server code, ldap_debug already points elsewhere */
#ifndef ldap_debug
#define ldap_debug ((LDAP_INT_GLOBAL_OPT())->ldo_debug)
#endif /* !ldap_debug */
#define LDAP_INT_DEBUG
#include "ldap_log.h"