summary refs log tree commit diff
path: root/cli/stop.c
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-09-17 08:19:31 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-09-17 08:19:31 +0000
commit311a05f6138cdbbbb2208ca79e0736f0fec030a8 (patch)
tree8a9453f19e6108fa26e9148876f3f7d8aa326bda /cli/stop.c
parentb169d038fe2d3cc01979dd8ed6333504bbcd02f9 (diff)
downloadbtpd-311a05f6138cdbbbb2208ca79e0736f0fec030a8.tar.gz
btpd-311a05f6138cdbbbb2208ca79e0736f0fec030a8.zip
btcli add now starts the torrent if not told otherwise. Soem cleanup and
improved error output.

Diffstat (limited to 'cli/stop.c')
-rw-r--r--cli/stop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/stop.c b/cli/stop.c
index caf68f4..4d8258d 100644
--- a/cli/stop.c
+++ b/cli/stop.c
@@ -23,5 +23,5 @@ cmd_stop(int argc, char **argv)
     btpd_connect();
     for (int i = 1; i < argc; i++)
         if (torrent_spec(argv[i], &t))
-            handle_ipc_res(btpd_stop(ipc, &t), argv[i]);
+            handle_ipc_res(btpd_stop(ipc, &t), "stop", argv[i]);
 }