From: Howard Chu Date: Sat, 13 Mar 2010 21:41:51 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: MIGRATION_CVS2GIT~669 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7cec659d746816a571f2f69e0e92216eca46863a;p=openldap Fix prev commit --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 1b75814fba..05f94e4268 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -3029,8 +3029,10 @@ pcache_op_search( slap_callback **scp; for ( scp = &op->o_callback; *scp != NULL; scp = &(*scp)->sc_next ) { - if ( (*scp)->sc_next == &cb ) + if ( (*scp)->sc_next == &cb ) { *scp = cb.sc_next; + break; + } } } }