From 28493e554ca581a832412c1b0cc0a2a1ebed7987 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 5 Apr 2007 00:16:17 +0000 Subject: [PATCH] ITS#4912 fix typo in prev commit --- libraries/libldap_r/tpool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5