mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix prev commit
This commit is contained in:
parent
1fa702e968
commit
3f5e705996
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user