Fix ldbm_tool_entry_first, was not byteswapping ID.

This commit is contained in:
Howard Chu 2001-12-11 14:03:18 +00:00
parent 7330016026
commit fcce9bb260

View File

@ -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 );