search for: mailbox_keywords_free

Displaying 3 results from an estimated 3 matches for "mailbox_keywords_free".

2006 Oct 04
1
fix: LDA logging
...x_open_or_create_synced(storage, mailbox); if (box == NULL) return -1; + str = mail_get_first_header(mail, "Message-ID"); + t = mailbox_transaction_begin(box, MAILBOX_TRANSACTION_FLAG_EXTERNAL); kw = strarray_length(keywords) == 0 ? NULL : @@ -117,10 +120,14 @@ ret = -1; mailbox_keywords_free(t, &kw); - if (ret < 0) + if (ret < 0) { + i_info("failed to deliver msgid=%s to %s", str, mailbox); mailbox_transaction_rollback(&t); - else + } + else { + i_info("delivered msgid=%s to %s", str, mailbox); ret = mailbox_transaction_commit(&t, 0); + }...
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...h-plugin.c:104:52: error: 'struct mail_storage' has no member named 'ns' ns = get_users_inbox_namespace(_mail->box->storage->ns->user); ^ deleted-to-trash-plugin.c:127:3: warning: implicit declaration of function 'mailbox_keywords_free' [-Wimplicit-function-declaration] mailbox_keywords_free(trash_box, &keywords); ^ deleted-to-trash-plugin.c:140:3: warning: passing argument 1 of 'mailbox_close' from incompatible pointer type [enabled by default] mailbox_close(&trash_box); ^ In file included from /u...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...nt_send_command_error(cmd, "Invalid arguments."); @@ -330,6 +370,11 @@ } else if (!imap_parse_datetime(internal_date_str, &internal_date, &timezone_offset)) { client_send_tagline(cmd, "BAD Invalid internal date."); + + /* APPLE */ + if (keywords != NULL) + mailbox_keywords_free(ctx->box, &keywords); + return cmd_append_cancel(ctx, nonsync); } @@ -343,6 +388,11 @@ if (ctx->msg_size == 0) { /* no message data, abort */ client_send_tagline(cmd, "NO Can't save a zero byte message."); + + /* APPLE */ + if (keywords != NULL) + mailbox_...