Displaying 2 results from an estimated 2 matches for "count_ov".
Did you mean:
count_ok
2015 Apr 09
2
Trash Plugin bugs
...tx->bytes_ceil!=(uint64_t)-1 && ctx->bytes_ceil < size + ctx->bytes_over) {
+ size_needed = size + ctx->bytes_over - ctx->bytes_ceil;
+ }
+ if (ctx->count_ceil!=(uint64_t)-1 && ctx->count_ceil < 1 + ctx->count_over) {
+ count_needed = 1 + ctx->count_over - ctx->count_ceil;
+ }
+
/* not enough space. try deleting some from mailbox. */
- ret = trash_try_clean_mails(ctx, size + ctx->bytes_over,
-...
2014 Jun 26
1
Bug in quota_get_status
...'t work, so I traced down the problem:
quota_get_status (quota_storage.c:89) calls quota_test_alloc
(quota.c:1352) with size = 0 bytes, which leads always to a FALSE result
in quota_is_over (quota.c:1305).
I've fixed the function quota_is_over by considering ctx->bytes_over and
ctx->count_over. See the included patch.
Kind regards,
Franz
--
Franz Knipp, +43 664 3980169
qnipp GmbH, Hauptstra?e 54, 7064 Oslip, ?sterreich
http://qnipp.com http://qnipp.com/qnipp.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-2.2.13-quota_is_over.patch...