diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-10-29 23:36:12 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-10-29 23:36:12 +0900 |
commit | ff697aa514b13cbb8105f2f3c04c1889820796d9 (patch) | |
tree | b60df94dea916a2ae3b13731e94d45d85ed380fd /src/file.h | |
parent | 47f6983148047975e00f48b1ef77f8c4c7f2fd73 (diff) |
fix path handling
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -60,10 +60,9 @@ struct chunk { char *file_find_hostname(char *path); bool file_has_hostname(char *path); -int file_is_directory(char *path, sftp_session sftp); -int file_fill(sftp_session sftp, struct list_head *file_list, char **src_array, int cnt); -int file_fill_dst(char *target, struct list_head *file_list); +int file_fill(sftp_session sftp, struct list_head *file_list, char **src_array, int cnt, + char *dst); int chunk_fill(struct list_head *file_list, struct list_head *chunk_list, int nr_conn, int min_chunk_sz, int max_chunk_sz); |