From: Kurt Zeilenga Date: Mon, 24 Dec 2001 17:01:08 +0000 (+0000) Subject: Fix DN struct berval issue X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~547 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa30a464460c0960c4a738e83e0078ea11c7cf51;p=openldap Fix DN struct berval issue --- diff --git a/servers/slapd/back-shell/unbind.c b/servers/slapd/back-shell/unbind.c index 9621de1ab3..099536ae5e 100644 --- a/servers/slapd/back-shell/unbind.c +++ b/servers/slapd/back-shell/unbind.c @@ -38,7 +38,7 @@ shell_back_unbind( fprintf( wfp, "UNBIND\n" ); fprintf( wfp, "msgid: %ld\n", (long) op->o_msgid ); print_suffixes( wfp, be ); - fprintf( wfp, "dn: %s\n", (conn->c_dn ? conn->c_dn : "") ); + fprintf( wfp, "dn: %s\n", (conn->c_dn.bv_len ? conn->c_dn.bv_val : "") ); fclose( wfp ); /* no response to unbind */