mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fix ldbm_tool_entry_first, was not byteswapping ID.
This commit is contained in:
parent
7330016026
commit
fcce9bb260
@ -91,6 +91,9 @@ ID ldbm_tool_entry_first(
|
|||||||
}
|
}
|
||||||
|
|
||||||
AC_MEMCPY( &id, key.dptr, key.dsize );
|
AC_MEMCPY( &id, key.dptr, key.dsize );
|
||||||
|
#ifndef WORDS_BIGENDIAN
|
||||||
|
id = ntohl( id );
|
||||||
|
#endif
|
||||||
|
|
||||||
ldbm_datum_free( id2entry->dbc_db, key );
|
ldbm_datum_free( id2entry->dbc_db, key );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user