aboutsummaryrefslogtreecommitdiff
path: root/mail/mailutils
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-17 06:27:59 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-17 06:27:59 +0000
commit309cfce988ed41c5ab1fac800dd63c4eca1c4761 (patch)
treea36a3a84e20dff4e3b7199c6355871ce11dcf80c /mail/mailutils
parentec1d45a96b6c665ac61cbae15944b17f2385b8f1 (diff)
downloadports-309cfce988ed41c5ab1fac800dd63c4eca1c4761.tar.gz
ports-309cfce988ed41c5ab1fac800dd63c4eca1c4761.zip
Notes
Diffstat (limited to 'mail/mailutils')
-rw-r--r--mail/mailutils/files/patch-mda_lib_mailquota.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/mailutils/files/patch-mda_lib_mailquota.c b/mail/mailutils/files/patch-mda_lib_mailquota.c
new file mode 100644
index 000000000000..0961c9259dea
--- /dev/null
+++ b/mail/mailutils/files/patch-mda_lib_mailquota.c
@@ -0,0 +1,22 @@
+--- mda/lib/mailquota.c.orig 2020-08-08 20:32:07 UTC
++++ mda/lib/mailquota.c
+@@ -270,16 +270,10 @@ sql_retrieve_quota (char *name, mu_off_t *quota)
+ }
+ else if (tmp == NULL || tmp[0] == 0 || mu_c_strcasecmp (tmp, "none") == 0)
+ rc = RETR_UNLIMITED;
+- else
++ else if (get_quota (quota, tmp))
+ {
+- char *p;
+-
+- if (get_size (tmp, quota, &p))
+- {
+- mu_error (_("bogus mailbox quota for `%s' (near `%s')"),
+- name, p);
+- *quota = groupquota;
+- }
++ *quota = groupquota;
++ rc = RETR_OK;
+ }
+ }
+