From: Howard Chu Date: Sat, 20 May 2006 05:05:13 +0000 (+0000) Subject: More cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~233 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa2425005ae03c0485f78e32df974c98d8d2d931;p=openldap More cleanup --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 73b91557f4..0dc0c942bd 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1580,7 +1580,7 @@ consistency_check( SlapReply rs = {REP_RESULT}; CachedQuery* query, *query_prev; - int i, return_val, pause = 1; + int return_val, pause = 1; QueryTemplate* templ; op = (Operation *) &opbuf; @@ -1601,10 +1601,10 @@ consistency_check( templ, 0, 0 ); ldap_pvt_thread_rdwr_wlock(&templ->t_rwlock); remove_from_template(query, templ); - Debug( pcache_debug, "TEMPLATE %d QUERIES-- %d\n", - i, templ->no_of_queries, 0 ); - Debug( pcache_debug, "Unlock CR index = %d\n", - i, 0, 0 ); + Debug( pcache_debug, "TEMPLATE %p QUERIES-- %d\n", + templ, templ->no_of_queries, 0 ); + Debug( pcache_debug, "Unlock CR index = %p\n", + templ, 0, 0 ); ldap_pvt_thread_rdwr_wunlock(&templ->t_rwlock); ldap_pvt_thread_mutex_lock(&qm->lru_mutex); remove_query(qm, query);