diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-05-03 19:26:38 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-05-03 19:26:38 +0200 |
commit | a1527ce7177df11a8ee1b46a0e7b64f0f0df234b (patch) | |
tree | 41f724c2a04b3582878d40dc451930e71a7b86aa /antispam-storage-1.0.c | |
parent | c8a9a6550b84412f919b772a9cb8db1e3ef79d19 (diff) | |
parent | 808eaa49efe2dc2438ef98ddf4bac4cfd2898a3d (diff) | |
download | dovecot-antispam-master.tar.gz dovecot-antispam-master.tar.xz dovecot-antispam-master.zip |
Diffstat (limited to 'antispam-storage-1.0.c')
-rw-r--r-- | antispam-storage-1.0.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/antispam-storage-1.0.c b/antispam-storage-1.0.c index 1651281..3112a22 100644 --- a/antispam-storage-1.0.c +++ b/antispam-storage-1.0.c @@ -119,8 +119,8 @@ antispam_copy(struct mailbox_transaction_context *t, struct mail *mail, if (asbox->save_hack || asbox->movetype == MMT_UNINTERESTING) ret = 0; else - ret = backend_handle_mail(t, ast, copy_dest_mail, - move_to_class(asbox->movetype)); + ret = backend->handle_mail(t, ast, copy_dest_mail, + move_to_class(asbox->movetype)); /* * Both save_hack and movetype are only valid within a copy operation, @@ -231,8 +231,8 @@ static int antispam_save_finish(struct mail_save_context *ctx, } /* fall through */ default: - ret = backend_handle_mail(ctx->transaction, ast, save_dest_mail, - move_to_class(asbox->movetype)); + ret = backend->handle_mail(ctx->transaction, ast, save_dest_mail, + move_to_class(asbox->movetype)); } if (save_dest_mail != dest_mail) @@ -245,7 +245,7 @@ antispam_transaction_begin(struct mailbox *box) { struct antispam_transaction_context *ast; - ast = backend_start(box); + ast = backend->start(box); i_assert(ast != NULL); return ast; @@ -256,7 +256,7 @@ antispam_transaction_rollback(struct antispam_transaction_context **_ast) { struct antispam_transaction_context *ast = *_ast; - backend_rollback(ast); + backend->rollback(ast); *_ast = NULL; } @@ -267,7 +267,7 @@ antispam_transaction_commit(struct mailbox_transaction_context *ctx, struct antispam_transaction_context *ast = *_ast; int ret; - ret = backend_commit(ctx, ast); + ret = backend->commit(ctx, ast); *_ast = NULL; return ret; } |