checkpoint includes username

This commit is contained in:
Ryo Nakamura
2024-02-20 16:14:26 +09:00
parent 0695c1e2e4
commit fc0ced1828
3 changed files with 20 additions and 10 deletions

View File

@@ -522,8 +522,8 @@ int mscp_checkpoint_load(struct mscp *m, const char *pathname)
int mscp_checkpoint_save(struct mscp *m, const char *pathname)
{
return checkpoint_save(pathname, m->direction, m->remote, m->path_pool,
m->chunk_pool);
return checkpoint_save(pathname, m->direction, m->ssh_opts->login_name,
m->remote, m->path_pool, m->chunk_pool);
}
static void *mscp_copy_thread(void *arg);