mirror of
https://github.com/upa/mscp.git
synced 2026-02-15 17:54:43 +08:00
tiny fix on pool
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user