# HG changeset patch # User Timo Sirainen # Date 1030995455 -10800 # Node ID f9522c8629b85f74558e6b114f7bf8fce7a2b58c # Parent 82f566bc9d85790105d5019505bbd104c09be3ce APPEND always saved mails to INBOX with maildir. diff -r 82f566bc9d85 -r f9522c8629b8 src/lib-storage/index/maildir/maildir-save.c --- a/src/lib-storage/index/maildir/maildir-save.c Mon Sep 02 22:14:17 2002 +0300 +++ b/src/lib-storage/index/maildir/maildir-save.c Mon Sep 02 22:37:35 2002 +0300 @@ -76,7 +76,7 @@ t_push(); /* create the file into tmp/ directory */ - tmpdir = t_strconcat(box->storage->dir, "/tmp", NULL); + tmpdir = t_strconcat(ibox->index->dir, "/tmp", NULL); fname = maildir_read_into_tmp(box->storage, tmpdir, data, data_size); if (fname == NULL) { t_pop(); @@ -85,7 +85,7 @@ tmp_path = t_strconcat(tmpdir, "/", fname, NULL); fname = maildir_filename_set_flags(fname, flags); - new_path = t_strconcat(box->storage->dir, "/new/", fname, NULL); + new_path = t_strconcat(ibox->index->dir, "/new/", fname, NULL); /* set the internal_date by modifying mtime */ buf.actime = ioloop_time;