From: Luke Howard Date: Fri, 24 Jan 2003 05:57:20 +0000 (+0000) Subject: fix typo X-Git-Tag: NO_SLAP_OP_BLOCKS~516 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=562b7fb8d9eaffbf7309c924ce591717946b7ad7;p=openldap fix typo --- diff --git a/servers/slapd/slapi/slapi_ops.c b/servers/slapd/slapi/slapi_ops.c index 3f1da60e6c..3fb247a908 100644 --- a/servers/slapd/slapi/slapi_ops.c +++ b/servers/slapd/slapi/slapi_ops.c @@ -174,12 +174,7 @@ fakeConnection( c->c_pending_ops.stqh_first->o_authmech.bv_len = 0; c->c_pending_ops.stqh_first->o_time = slap_get_time(); c->c_pending_ops.stqh_first->o_do_not_cache = 1; - - /* - * XXX this needs to be set otherwise back-bdb goes - * into an infinite loop. - */ - c->c_pending_ops.stqh_first->o_threadctx = NULL; + c->c_pending_ops.stqh_first->o_threadctx = ldap_pvt_thread_pool_getcontext( &connection_pool ); /* connection object */ c->c_authmech.bv_val = NULL; diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index 40f54a4799..accd201e68 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -2975,7 +2975,7 @@ int slapi_notify_condvar( Slapi_CondVar *cvar, int notify_all ) } if ( notify_all ) { - return ldap_pvt_thread_cond_braodcast( &cvar->cond ); + return ldap_pvt_thread_cond_broadcast( &cvar->cond ); } return ldap_pvt_thread_cond_signal( &cvar->cond );