1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix initialization of _name members

This commit is contained in:
Steffen Vogel 2017-08-27 18:01:12 +02:00
parent 98ea4d92b7
commit 10faca42d8
2 changed files with 6 additions and 1 deletions

View file

@ -37,8 +37,11 @@ int node_init(struct node *n, struct node_type *vt)
n->_vt = vt;
n->_vd = alloc(vt->size);
n->name = NULL;
n->_name = NULL;
n->_name_long = NULL;
n->id = max_id++;
/* Default values */

View file

@ -164,6 +164,8 @@ int path_init(struct path *p, struct super_node *sn)
list_init(&p->hooks);
list_init(&p->destinations);
p->_name = NULL;
/* Default values */
p->reverse = 0;