summaryrefslogtreecommitdiff
path: root/src/file.c
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2022-10-30 15:20:05 +0900
committerRyo Nakamura <upa@haeena.net>2022-10-30 15:20:05 +0900
commitc495f6b89bdd2ff8df8c71cc8ca01c597182e8c8 (patch)
tree859712525e6bc46b52b0a48174b0a97c52b64ef1 /src/file.c
parent37c37990f5fcad6ba9232feba9df775692cd5f46 (diff)
rename sscp to mscp
Diffstat (limited to 'src/file.c')
-rw-r--r--src/file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/file.c b/src/file.c
index 29dbfe9..c4f36e1 100644
--- a/src/file.c
+++ b/src/file.c
@@ -235,9 +235,10 @@ static int file_fill_recursive(struct list_head *file_list,
snprintf(f->dst_path, PATH_MAX, "%s%s", rel_path, dst_path);
list_add_tail(&f->list, file_list);
- pprint2("file %s %s -> %s %s\n",
+ pprint2("file %s %s -> %s %s %luB\n",
f->path, dst_is_remote ? "(local)" : "(remote)",
- f->dst_path, dst_is_remote ? "(remote)" : "(local)");
+ f->dst_path, dst_is_remote ? "(remote)" : "(local)",
+ f->size);
return 0;
}