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:
parent
a088c116f0
commit
6a2fa4e590
1 changed files with 8 additions and 9 deletions
17
lib/node.c
17
lib/node.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue