aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mail-ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 0047afc0b9..5c234bde35 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -836,7 +836,6 @@ static void transfer_messages_transfer(struct _mail_msg *mm)
{
struct _transfer_msg *m = (struct _transfer_msg *)mm;
CamelFolder *dest;
- int i;
char *desc;
void (*func) (CamelFolder *, GPtrArray *,
CamelFolder *,
@@ -857,7 +856,7 @@ static void transfer_messages_transfer(struct _mail_msg *mm)
camel_folder_freeze (m->source);
camel_folder_freeze (dest);
- (func) (m->source, m->uids->pdata[i], dest, &mm->ex);
+ (func) (m->source, m->uids, dest, &mm->ex);
camel_folder_thaw(m->source);
camel_folder_thaw(dest);