Explorar el Código

Fix typo. Index should be i not 1.

master
Richard Nyberg hace 19 años
padre
commit
2c43037a69
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      cli/btcli.c

+ 1
- 1
cli/btcli.c Ver fichero

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


Cargando…
Cancelar
Guardar