From f0d6ac3e0bd9c5f26a4a0e96e441e0c78e511293 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 4 Feb 2006 15:50:22 +0000 Subject: [PATCH] debug cleanup --- servers/slapd/back-ldap/bind.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 ); } -- 2.39.5