Fix prev commit

This commit is contained in:
Howard Chu 2015-01-30 08:06:11 +00:00
parent 1fa702e968
commit 3f5e705996

View File

@ -2781,11 +2781,11 @@ presentlist_delete(
struct berval *val ) struct berval *val )
{ {
#ifdef HASHUUID #ifdef HASHUUID
Avlnode **a2 = (Avlnode **)av; Avlnode **a2 = *(Avlnode ***)av;
unsigned short s; unsigned short s;
memcpy(&s, val->bv_val, 2); 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 #else
avl_delete( av, val->bv_val, syncuuid_cmp ); avl_delete( av, val->bv_val, syncuuid_cmp );
#endif #endif