Fixed crasher due to op->o_conn not being initialized in internal

SLAPI connections (the new internal API highlighted this)
This commit is contained in:
Luke Howard 2003-04-01 11:46:43 +00:00
parent 6e01d4ebe8
commit 97aaebd20f

View File

@ -153,6 +153,7 @@ slapiConnectionInit(
c->c_pending_ops.stqh_first->o_time = slap_get_time(); c->c_pending_ops.stqh_first->o_time = slap_get_time();
c->c_pending_ops.stqh_first->o_do_not_cache = 1; c->c_pending_ops.stqh_first->o_do_not_cache = 1;
c->c_pending_ops.stqh_first->o_threadctx = ldap_pvt_thread_pool_context( &connection_pool ); c->c_pending_ops.stqh_first->o_threadctx = ldap_pvt_thread_pool_context( &connection_pool );
c->c_pending_ops.stqh_first->o_conn = c;
/* connection object */ /* connection object */
c->c_authmech.bv_val = NULL; c->c_authmech.bv_val = NULL;