ITS#10074 Fix type mismatches in lloadd

This commit is contained in:
Ondřej Kuzník 2023-07-27 11:19:20 +01:00 committed by Quanah Gibson-Mount
parent 242d1e6d62
commit de89b06b03
2 changed files with 7 additions and 2 deletions

View file

@ -131,6 +131,12 @@ lload_libevent_cond_timedwait(
return ldap_pvt_thread_cond_wait( cond, mutex );
}
unsigned long
lload_libevent_thread_self( void )
{
return (unsigned long)ldap_pvt_thread_self();
}
int
lload_libevent_init( void )
{
@ -152,7 +158,7 @@ lload_libevent_init( void )
evthread_set_lock_callbacks( &cbs );
evthread_set_condition_callbacks( &cond_cbs );
evthread_set_id_callback( ldap_pvt_thread_self );
evthread_set_id_callback( lload_libevent_thread_self );
return 0;
}

View file

@ -151,7 +151,6 @@ lload_back_initialize( BackendInfo *bi )
{
bi->bi_flags = SLAP_BFLAG_STANDALONE;
bi->bi_open = lload_back_open;
bi->bi_config = config_generic_wrapper;
bi->bi_pause = lload_pause_cb;
bi->bi_unpause = lload_unpause_cb;
bi->bi_close = lload_back_close;