mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Store object name when parsing multi-instance object without section
This commit is contained in:
parent
8f72146f0f
commit
72c3307651
1 changed files with 2 additions and 2 deletions
|
|
@ -805,14 +805,14 @@ char *handle_instance_without_section(struct dmctx *dmctx, DMNODE *parent_node,
|
|||
switch(parent_node->browse_type) {
|
||||
case BROWSE_NORMAL:
|
||||
dmasprintf(&instance, "%d", inst_nbr);
|
||||
dmctx->obj_buf[parent_node->instance_level] = parent_node->obj->obj;
|
||||
dmctx->inst_buf[parent_node->instance_level] = instance ? instance : "";
|
||||
break;
|
||||
case BROWSE_FIND_MAX_INST:
|
||||
case BROWSE_NUM_OF_ENTRIES:
|
||||
break;
|
||||
}
|
||||
|
||||
dmctx->inst_buf[parent_node->instance_level] = instance ? instance : "";
|
||||
|
||||
return instance ? instance : "";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue