Commits (2)
......@@ -102,7 +102,7 @@ rewrite_param_get(
ldap_pvt_thread_rdwr_runlock( &info->li_params_mutex );
#endif /* USE_REWRITE_LDAP_PVT_THREADS */
return REWRITE_SUCCESS;
return rc;
}
static void
......@@ -129,15 +129,13 @@ rewrite_param_destroy(
struct rewrite_info *info
)
{
int count;
assert( info != NULL );
#ifdef USE_REWRITE_LDAP_PVT_THREADS
ldap_pvt_thread_rdwr_wlock( &info->li_params_mutex );
#endif /* USE_REWRITE_LDAP_PVT_THREADS */
count = avl_free( info->li_params, rewrite_param_free );
avl_free( info->li_params, rewrite_param_free );
info->li_params = NULL;
#ifdef USE_REWRITE_LDAP_PVT_THREADS
......
......@@ -2018,7 +2018,7 @@ int connection_write(ber_socket_t s)
return 0;
}
int connection_write_resume( Connection *c )
void connection_write_resume( Connection *c )
{
Operation *op;
......
......@@ -809,7 +809,7 @@ LDAP_SLAPD_F (const char *) connection_state2str LDAP_P(( int state ))
LDAP_SLAPD_F (int) connection_read_activate LDAP_P((ber_socket_t s));
LDAP_SLAPD_F (int) connection_write LDAP_P((ber_socket_t s));
LDAP_SLAPD_F (int) connection_write_resume LDAP_P((Connection *c));
LDAP_SLAPD_F (void) connection_write_resume LDAP_P((Connection *c));
LDAP_SLAPD_F (void) connection_op_finish LDAP_P((
Operation *op ));
......