소스 검색

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);
}


불러오는 중...
취소
저장