mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 21:50:49 -05:00
ITS#10074 Fix type mismatches in lloadd
This commit is contained in:
parent
242d1e6d62
commit
de89b06b03
2 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue