mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Fix ldbm_tool_entry_first, was not byteswapping ID.
This commit is contained in:
parent
7330016026
commit
fcce9bb260
1 changed files with 3 additions and 0 deletions
|
|
@ -91,6 +91,9 @@ ID ldbm_tool_entry_first(
|
|||
}
|
||||
|
||||
AC_MEMCPY( &id, key.dptr, key.dsize );
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
id = ntohl( id );
|
||||
#endif
|
||||
|
||||
ldbm_datum_free( id2entry->dbc_db, key );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue