]> git.sur5r.net Git - openldap/commitdiff
more cleanup of previous commits
authorPierangelo Masarati <ando@openldap.org>
Sun, 14 May 2006 18:09:56 +0000 (18:09 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 14 May 2006 18:09:56 +0000 (18:09 +0000)
servers/slapd/back-ldap/bind.c

index 51fd064dcad0e7a519ffee30bf2c741274177574..0a482f6d7f24a810bc246456caedb96a858611e5 100644 (file)
@@ -60,7 +60,9 @@ ravl_print( Avlnode *root, int depth )
 
        lc = root->avl_data;
        fprintf( stderr, "lc=%p local=\"%s\" conn=%p %s refcnt=%d\n",
-               (void *)lc, lc->lc_local_ndn.bv_val, (void *)lc->lc_conn,
+               (void *)lc,
+               lc->lc_local_ndn.bv_val ? lc->lc_local_ndn.bv_val : "",
+               (void *)lc->lc_conn,
                avl_bf2str( root->avl_bf ), lc->lc_refcnt );
        
        ravl_print( root->avl_left, depth+1 );