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

add assertion to check that the node-type has been started before starting the node

This commit is contained in:
Steffen Vogel 2018-07-04 16:38:06 +02:00
parent 8cd1b93225
commit 92e4b61e2e

View file

@ -322,6 +322,7 @@ int node_start(struct node *n)
int ret;
assert(n->state == STATE_CHECKED);
assert(n->_vt->state == STATE_STARTED);
info("Starting node %s", node_name_long(n));
{ INDENT