From: Howard Chu Date: Fri, 30 Jan 2015 08:06:11 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~141^2~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f5e705996c2e16041a1e42adcabefab44346383;p=thirdparty%2Fopenldap.git Fix prev commit --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 61a2ca1286..2415515a3c 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2781,11 +2781,11 @@ presentlist_delete( struct berval *val ) { #ifdef HASHUUID - Avlnode **a2 = (Avlnode **)av; + Avlnode **a2 = *(Avlnode ***)av; unsigned short s; memcpy(&s, val->bv_val, 2); - return avl_delete( a2[s], val->bv_val+2, syncuuid_cmp ); + avl_delete( &a2[s], val->bv_val+2, syncuuid_cmp ); #else avl_delete( av, val->bv_val, syncuuid_cmp ); #endif