changeset 1559:640196881ac6 HEAD

Hardlink copying crashed.
author Timo Sirainen <tss@iki.fi>
date Thu, 19 Jun 2003 01:20:51 +0300
parents fa3c261d3556
children c83031137fdd
files src/lib-storage/index/maildir/maildir-copy.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-copy.c	Wed Jun 18 04:35:44 2003 +0300
+++ b/src/lib-storage/index/maildir/maildir-copy.c	Thu Jun 19 01:20:51 2003 +0300
@@ -74,7 +74,7 @@
         const struct messageset_mail *mail;
 	enum mail_flags flags;
 	const char **custom_flags;
-	const char *fname, *src_path, *dest_fname, *dest_path;
+	const char *fname, *dest_fname, *dest_path;
 	int ret, i, found;
 
 	pool = pool_alloconly_create("hard copy rollbacks", 2048);
@@ -94,8 +94,6 @@
 
 		/* link the file */
 		t_push();
-		src_path = t_strconcat(index->mailbox_path, "/cur/",
-				       fname, NULL);
 
 		dest_fname = maildir_generate_tmp_filename(&ioloop_timeval);
 		dest_fname = maildir_filename_set_flags(dest_fname, flags);