From: Pierangelo Masarati Date: Sat, 4 Feb 2006 15:50:22 +0000 (+0000) Subject: debug cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~233 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0d6ac3e0bd9c5f26a4a0e96e441e0c78e511293;p=openldap debug cleanup --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index eeb76d9c3a..5c5a40e707 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -35,7 +35,11 @@ #include +#ifndef PRINT_CONNTREE #define PRINT_CONNTREE 0 +#endif /* !PRINT_CONNTREE */ + +#define LDAP_CONTROL_OBSOLETE_PROXY_AUTHZ "2.16.840.1.113730.3.4.12" static LDAP_REBIND_PROC ldap_back_default_rebind; @@ -204,8 +208,9 @@ ravl_print( Avlnode *root, int depth ) } lc = root->avl_data; - printf( "lc(%lx) local(%s) conn(%lx) %d\n", - lc, lc->lc_local_ndn.bv_val, lc->lc_conn, root->avl_bf ); + printf( "lc(%lx) local(%s) conn(%lx) %s\n", + lc, lc->lc_local_ndn.bv_val, lc->lc_conn, + avl_bf2str( root->avl_bf) ); ravl_print( root->avl_left, depth+1 ); }