mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
Backport upstream patch to unbreak the build with SQL support enabled.
PR: 249358
This commit is contained in:
parent
ec1d45a96b
commit
309cfce988
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548813
22
mail/mailutils/files/patch-mda_lib_mailquota.c
Normal file
22
mail/mailutils/files/patch-mda_lib_mailquota.c
Normal file
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user