diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-02-11 22:09:23 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-02-11 22:09:23 +0900 |
commit | f1522368446310ab697e2a60cd69119d741cf7cf (patch) | |
tree | d1bca5869100db4dcaa93707f9eeeec7c5997245 /src/mscp.c | |
parent | ce376beeb9d6f79692d955455b10dfff44cca3bb (diff) |
tiny fix on pool
Diffstat (limited to 'src/mscp.c')
-rw-r--r-- | src/mscp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -631,7 +631,7 @@ void *mscp_copy_thread(void *arg) goto err_out; } - if ((next_chunk_exist = pool_iter_check_next_lock(m->chunk_pool))) { + if ((next_chunk_exist = pool_iter_has_next_lock(m->chunk_pool))) { if (m->opts->interval > 0) wait_for_interval(m->opts->interval); pr_notice("thread[%d]: connecting to %s", t->id, m->remote); |