diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-09-17 08:19:31 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-09-17 08:19:31 +0000 |
| commit | 311a05f6138cdbbbb2208ca79e0736f0fec030a8 (patch) | |
| tree | 8a9453f19e6108fa26e9148876f3f7d8aa326bda /cli/btcli.h | |
| parent | b169d038fe2d3cc01979dd8ed6333504bbcd02f9 (diff) | |
| download | btpd-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/btcli.h')
| -rw-r--r-- | cli/btcli.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/btcli.h b/cli/btcli.h index 5b64662..96c3f4b 100644 --- a/cli/btcli.h +++ b/cli/btcli.h @@ -21,8 +21,8 @@ extern const char *btpd_dir; extern struct ipc *ipc; void btpd_connect(void); -enum ipc_err handle_ipc_res(enum ipc_err err, const char *target); - +enum ipc_err handle_ipc_res(enum ipc_err err, const char *cmd, + const char *target); char tstate_char(enum ipc_tstate ts); int torrent_spec(char *arg, struct ipc_torrent *tp); |