From 6a2fa4e5909046e5af3c4dc02c624e81b4437159 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 22 Nov 2018 09:56:40 +0200 Subject: [PATCH] fix indention --- lib/node.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lib/node.c b/lib/node.c index 6a219211a..1afbf2db7 100644 --- a/lib/node.c +++ b/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;