From da6f1c5778fb09163af64c8aca93596481fd59d2 Mon Sep 17 00:00:00 2001
From: Quanah Gibson-Mount <quanah@openldap.org>
Date: Mon, 8 Sep 2008 20:59:02 +0000
Subject: [PATCH] unique_search(): Print key->bv_val rather than key.

---
 servers/slapd/overlays/unique.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/servers/slapd/overlays/unique.c b/servers/slapd/overlays/unique.c
index e28e6b3540..a3c5ac90ae 100644
--- a/servers/slapd/overlays/unique.c
+++ b/servers/slapd/overlays/unique.c
@@ -982,7 +982,7 @@ unique_search(
 	unique_counter uq = { NULL, 0 };
 	int rc;
 
-	Debug(LDAP_DEBUG_TRACE, "==> unique_search %s\n", key, 0, 0);
+	Debug(LDAP_DEBUG_TRACE, "==> unique_search %s\n", key->bv_val, 0, 0);
 
 	nop->ors_filter = str2filter_x(nop, key->bv_val);
 	if(nop->ors_filter == NULL) {
-- 
GitLab