From fa30a464460c0960c4a738e83e0078ea11c7cf51 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 24 Dec 2001 17:01:08 +0000 Subject: [PATCH] Fix DN struct berval issue --- servers/slapd/back-shell/unbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5