ITS#8231 fix ITS#8042 regression

This commit is contained in:
Howard Chu 2015-08-29 18:29:32 +01:00
parent 9d2dc5dd24
commit 2eaf8eb213

View File

@ -2769,6 +2769,9 @@ presentlist_find(
Avlnode **a2 = (Avlnode **)av; Avlnode **a2 = (Avlnode **)av;
unsigned short s; unsigned short s;
if (!av)
return NULL;
memcpy(&s, val->bv_val, 2); memcpy(&s, val->bv_val, 2);
return avl_find( a2[s], val->bv_val+2, syncuuid_cmp ); return avl_find( a2[s], val->bv_val+2, syncuuid_cmp );
#else #else