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 indention

This commit is contained in:
Steffen Vogel 2018-11-22 09:56:40 +02:00
parent a088c116f0
commit 6a2fa4e590

View file

@ -362,17 +362,16 @@ int node_stop(struct node *n)
return 0;
info("Stopping node %s", node_name(n));
{
ret = node_direction_stop(&n->in, n);
if (ret)
return ret;
ret = node_direction_stop(&n->out, n);
if (ret)
return ret;
ret = node_direction_stop(&n->in, n);
if (ret)
return ret;
ret = node_type(n)->stop ? node_type(n)->stop(n) : 0;
}
ret = node_direction_stop(&n->out, n);
if (ret)
return ret;
ret = node_type(n)->stop ? node_type(n)->stop(n) : 0;
if (ret == 0)
n->state = STATE_STOPPED;