diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-11-11 12:04:12 +0100 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-11-11 12:04:12 +0100 |
commit | ae940d8ab29da4a09d4d0ec5a8fdc87b40382407 (patch) | |
tree | fc0cc45cfae42fdc4a49ff690a0d2dc0e7d9c101 /signature-log.c | |
parent | cf194d158db5c09364c15487da9b24844c7622a9 (diff) | |
download | dovecot-antispam-ae940d8ab29da4a09d4d0ec5a8fdc87b40382407.tar.gz dovecot-antispam-ae940d8ab29da4a09d4d0ec5a8fdc87b40382407.tar.xz dovecot-antispam-ae940d8ab29da4a09d4d0ec5a8fdc87b40382407.zip |
fix signature-log backend compilation with dovecot 1.1
Diffstat (limited to '')
-rw-r--r-- | signature-log.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/signature-log.c b/signature-log.c index 2cd9aa7..ab8cd6d 100644 --- a/signature-log.c +++ b/signature-log.c @@ -51,7 +51,7 @@ backend_start(struct mailbox *box __attr_unused__) ast = i_new(struct antispam_transaction_context, 1); - ast->dict = dict_init(dict_uri, dict_user); + ast->dict = string_dict_init(dict_uri, dict_user); /* see comment below */ // if (ast->dict) @@ -94,6 +94,7 @@ int backend_handle_mail(struct mailbox_transaction_context *t, if (!ast->dict) { mail_storage_set_error(t->box->storage, + ME(NOTPOSSIBLE) "Failed to initialise dict connection"); return -1; } @@ -125,6 +126,7 @@ int backend_handle_mail(struct mailbox_transaction_context *t, ret = dict_transaction_commit(ast->dict_ctx); if (ret) mail_storage_set_error(t->box->storage, + ME(NOTPOSSIBLE) "Failed to count signature"); return ret; |