"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/imap/cmd-copy.c" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

cmd-copy.c  (dovecot-2.3.16):cmd-copy.c  (dovecot-2.3.17)
skipping to change at line 312 skipping to change at line 312
copy_ctx.destbox = destbox; copy_ctx.destbox = destbox;
if (destbox == client->mailbox || !move) if (destbox == client->mailbox || !move)
copy_ctx.srcbox = client->mailbox; copy_ctx.srcbox = client->mailbox;
else { else {
copy_ctx.srcbox = mailbox_alloc(mailbox_get_namespace(client->mai lbox)->list, copy_ctx.srcbox = mailbox_alloc(mailbox_get_namespace(client->mai lbox)->list,
mailbox_get_vname(client->mailbox ), 0); mailbox_get_vname(client->mailbox ), 0);
if (mailbox_sync(copy_ctx.srcbox, 0) < 0) { if (mailbox_sync(copy_ctx.srcbox, 0) < 0) {
mail_search_args_unref(&search_args); mail_search_args_unref(&search_args);
client_send_box_error(cmd, copy_ctx.srcbox); client_send_box_error(cmd, copy_ctx.srcbox);
mailbox_free(&copy_ctx.srcbox); mailbox_free(&copy_ctx.srcbox);
mailbox_free(&destbox);
return TRUE; return TRUE;
} }
} }
copy_ctx.move = move; copy_ctx.move = move;
i_array_init(&copy_ctx.src_uids, 8); i_array_init(&copy_ctx.src_uids, 8);
i_array_init(&copy_ctx.saved_uids, 8); i_array_init(&copy_ctx.saved_uids, 8);
if (move) { if (move) {
/* When moving mails, perform the work in batches of /* When moving mails, perform the work in batches of
MOVE_COMMIT_INTERVAL. Each such batch has its own MOVE_COMMIT_INTERVAL. Each such batch has its own
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)