From caeae75662f200aed4475e2dc57e8dfdacd72711 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 20 Feb 2005 04:32:54 +0000 Subject: [PATCH] bdb_show_key is for hash keys, not IDs --- servers/slapd/back-bdb/idl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/idl.c b/servers/slapd/back-bdb/idl.c index 038de21ef2..32a78a93c6 100644 --- a/servers/slapd/back-bdb/idl.c +++ b/servers/slapd/back-bdb/idl.c @@ -271,7 +271,7 @@ bdb_show_key( DBT *key, char *buf ) { - if ( key->size == sizeof( ID ) ) { + if ( key->size == 4 /* LUTIL_HASH_BYTES */ ) { unsigned char *c = key->data; sprintf( buf, "[%02x%02x%02x%02x]", c[0], c[1], c[2], c[3] ); return buf; -- 2.39.5