struct mail_storage *storage = &ctx->mbox->storage->storage;
const char *tmp_path, *new_path;
+ i_assert(*destname != '\0');
+ i_assert(*mf->tmp_name != '\0');
+
/* if we have flags, we'll move it to cur/ directly, because files in
new/ directory can't have flags. alternative would be to write it
in new/ and set the flags dirty in index file, but in that case
fname++;
dir = t_strdup_until(path, fname);
+ i_assert(*fname != '\0');
+
/* get the current flags and keywords */
maildir_filename_get_flags(ctx->keywords_sync_ctx,
fname, &ctx->flags, &ctx->keywords);