From: Howard Chu Date: Thu, 5 Apr 2007 00:16:17 +0000 (+0000) Subject: ITS#4912 fix typo in prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~557 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=28493e554ca581a832412c1b0cc0a2a1ebed7987;p=openldap ITS#4912 fix typo in prev commit --- diff --git a/libraries/libldap_r/tpool.c b/libraries/libldap_r/tpool.c index 1df006ae22..1c564e37a5 100644 --- a/libraries/libldap_r/tpool.c +++ b/libraries/libldap_r/tpool.c @@ -840,9 +840,9 @@ int ldap_pvt_thread_pool_setkey( ctx->ltu_key[i].ltk_data = ctx->ltu_key[j].ltk_data; ctx->ltu_key[i].ltk_free = ctx->ltu_key[j].ltk_free; } - ctx->ltu_key[i].ltk_key = NULL; - ctx->ltu_key[i].ltk_data = NULL; - ctx->ltu_key[i].ltk_free = NULL; + ctx->ltu_key[j].ltk_key = NULL; + ctx->ltu_key[j].ltk_data = NULL; + ctx->ltu_key[j].ltk_free = NULL; } return 0; }