]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Fri, 30 Jan 2015 08:06:11 +0000 (08:06 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 30 Jan 2015 08:06:11 +0000 (08:06 +0000)
servers/slapd/syncrepl.c

index 61a2ca12869be4fe939c3892742442667e1134ac..2415515a3c8b17e921f9c28fd969cf5339c14b51 100644 (file)
@@ -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