From 326dc406e7f6b84d1a69d8556282306e1094c878 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Fri, 6 Oct 2006 15:04:54 +0000 Subject: Remove unneeded braces. --- btpd/cli_if.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/btpd/cli_if.c b/btpd/cli_if.c index b7ec364..c2b0a7d 100644 --- a/btpd/cli_if.c +++ b/btpd/cli_if.c @@ -363,9 +363,8 @@ cmd_stop_all(struct cli *cli, int argc, const char *args) int ret = write_code_buffer(cli, IPC_OK); active_clear(); BTPDQ_FOREACH(tp, torrent_get_all(), entry) - if (tp->state != T_STOPPING) { + if (tp->state != T_STOPPING) torrent_stop(tp); - } return ret; } -- cgit 1.4.1