ソースを参照

Fix typo. Index should be i not 1.

master
Richard Nyberg 19年前
コミット
2c43037a69
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      cli/btcli.c

+ 1
- 1
cli/btcli.c ファイルの表示

@@ -170,7 +170,7 @@ cmd_add(int argc, char **argv)
if (realpath(argv[i], fpath) == NULL)
err(1, "path error on %s", fpath);

handle_ipc_res(btpd_add(ipc, mi->info_hash, fpath, dpath), argv[1]);
handle_ipc_res(btpd_add(ipc, mi->info_hash, fpath, dpath), argv[i]);
clear_metainfo(mi);
free(mi);
}


読み込み中…
キャンセル
保存