mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
bdb_show_key is for hash keys, not IDs
This commit is contained in:
parent
0cf2e8746e
commit
caeae75662
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue