summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-02-26 23:42:25 +0900
committerRyo Nakamura <upa@haeena.net>2023-02-26 23:42:25 +0900
commitc649742b3eec44d47b887cb8b1deb336ae915dd1 (patch)
tree0fa9f79632e586ef7fee4e5e7d76eb4f3bb5097f /src/path.h
parent700d64b375470de42589ea66baabeee289cb66f2 (diff)
fix dst path resolve
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/path.h b/src/path.h
index 2672f51..7ad4f9e 100644
--- a/src/path.h
+++ b/src/path.h
@@ -45,7 +45,8 @@ int walk_src_path(sftp_session src_sftp, const char *src_path,
/* fill path->dst_path for all files */
int resolve_dst_path(const char *src_path, const char *dst_path,
struct list_head *path_list,
- bool src_path_is_dir, bool dst_path_is_dir);
+ bool src_path_is_dir, bool dst_path_is_dir,
+ bool dst_path_should_dir);
/* resolve chunks from files in the path_list */
int resolve_chunk(struct list_head *path_list, struct list_head *chunk_list,