]> git.sur5r.net Git - openldap/commitdiff
fix typo
authorLuke Howard <lukeh@openldap.org>
Fri, 24 Jan 2003 05:57:20 +0000 (05:57 +0000)
committerLuke Howard <lukeh@openldap.org>
Fri, 24 Jan 2003 05:57:20 +0000 (05:57 +0000)
servers/slapd/slapi/slapi_ops.c
servers/slapd/slapi/slapi_utils.c

index 3f1da60e6c3b96319615ca44e6747f06b170efc4..3fb247a9084e21b7a796dd43413d93b0bd603919 100644 (file)
@@ -174,12 +174,7 @@ fakeConnection(
        c->c_pending_ops.stqh_first->o_authmech.bv_len = 0; \r
        c->c_pending_ops.stqh_first->o_time = slap_get_time();\r
        c->c_pending_ops.stqh_first->o_do_not_cache = 1;\r
-\r
-       /*\r
-        * XXX this needs to be set otherwise back-bdb goes\r
-        * into an infinite loop.\r
-        */\r
-       c->c_pending_ops.stqh_first->o_threadctx = NULL;\r
+       c->c_pending_ops.stqh_first->o_threadctx = ldap_pvt_thread_pool_getcontext( &connection_pool );\r
 \r
        /* connection object */\r
        c->c_authmech.bv_val = NULL;\r
index 40f54a4799f64af2a05aa0b7280539cedba54ea5..accd201e6828fad45d6050bc99f9f3c5548ea9de 100644 (file)
@@ -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 );