diff --git a/src/doveadm/doveadm-dsync.c b/src/doveadm/doveadm-dsync.c index 420d7b3368..4d6aae6f53 100644 --- a/src/doveadm/doveadm-dsync.c +++ b/src/doveadm/doveadm-dsync.c @@ -485,7 +485,7 @@ parse_ssh_location(const char *location, const char *username) } static struct dsync_ibc * -cmd_dsync_icb_stream_init(struct dsync_cmd_context *ctx, +cmd_dsync_ibc_stream_init(struct dsync_cmd_context *ctx, const char *name, const char *temp_prefix) { if (ctx->input == NULL) { @@ -614,7 +614,7 @@ cmd_dsync_run(struct doveadm_mail_cmd_context *_ctx, struct mail_user *user) else { string_t *temp_prefix = t_str_new(64); mail_user_set_get_temp_prefix(temp_prefix, user->set); - ibc = cmd_dsync_icb_stream_init(ctx, ctx->remote_name, + ibc = cmd_dsync_ibc_stream_init(ctx, ctx->remote_name, str_c(temp_prefix)); if (ctx->fd_err != -1) { ctx->io_err = io_add(ctx->fd_err, IO_READ, @@ -1163,7 +1163,7 @@ cmd_dsync_server_run(struct doveadm_mail_cmd_context *_ctx, temp_prefix = t_str_new(64); mail_user_set_get_temp_prefix(temp_prefix, user->set); - ibc = cmd_dsync_icb_stream_init(ctx, name, str_c(temp_prefix)); + ibc = cmd_dsync_ibc_stream_init(ctx, name, str_c(temp_prefix)); brain = dsync_brain_slave_init(user, ibc, FALSE, process_title_prefix); io_loop_run(current_ioloop);