improve zarray_iter

This commit is contained in:
Rongsong Shen 2025-12-17 11:06:58 +08:00
parent 05abed1964
commit e85ce0e5ad
12 changed files with 72 additions and 75 deletions

View file

@ -184,7 +184,7 @@ int resmgr_iter(resmgr_t* mgr, xlist_t* l, void* arg)
int rc = 0;
mylock_lock(&(mgr->lock));
rc = zarray_iter_ex(&(mgr->defs), l, arg);
rc = zarray_iter_ex(&(mgr->defs), NULL, l, arg);
mylock_unlock(&(mgr->lock));
return rc;