mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-02 23:53:49 +01:00
get_instance: return err if find_param=0
This commit is contained in:
parent
31db6dab25
commit
95d1440650
1 changed files with 4 additions and 1 deletions
|
|
@ -1448,7 +1448,10 @@ int dm_entry_get_instances(struct dmctx *dmctx)
|
|||
dmctx->method_obj = mobj_get_instances_in_obj;
|
||||
dmctx->method_param = mparam_get_instances_in_obj;
|
||||
|
||||
dm_browse(dmctx, &node, root, NULL, NULL);
|
||||
err = dm_browse(dmctx, &node, root, NULL, NULL);
|
||||
if (dmctx->findparam == 0)
|
||||
return err;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue