Displaying 1 result from an estimated 1 matches for "quota_transaction_rollback".
2013 Aug 01
1
[PATCH] quota-status: allow different action for messages that are too large (over maximum quota)
...ool too_large;
int ret;
if (quser == NULL) {
@@ -64,7 +63,7 @@
box = mailbox_alloc(ns->list, "INBOX", 0);
ctx = quota_transaction_begin(box);
- ret = quota_test_alloc(ctx, I_MAX(1, mail_size), &too_large);
+ ret = quota_test_alloc(ctx, I_MAX(1, mail_size), too_large);
quota_transaction_rollback(&ctx);
mailbox_free(&box);
@@ -82,6 +81,7 @@
struct mail_storage_service_user *service_user;
struct mail_user *user;
const char *value = NULL, *error;
+ bool too_large;
int ret;
if (client->recipient == NULL) {
@@ -98,14 +98,21 @@
if (ret == 0) {
value = nouser_reply...