cyrus-imapd/patch-cyrus-rename-quota
Jason Tibbitts 3209176e05 Add patch to call cyr_quota.
quota was renamed to cyr_quota ages ago.  One place in the imap code, in
the implementation of the RECONSTRUCT command, will actually exec that
binary and so it must be patched to match.
2018-06-01 17:37:02 -05:00

14 lines
610 B
Plaintext

diff --git a/imap/imapd.c b/imap/imapd.c
index 586c9ad..efe00fc 100644
--- a/imap/imapd.c
+++ b/imap/imapd.c
@@ -7636,7 +7636,7 @@ static void cmd_reconstruct(const char *tag, const char *name, int recursive)
fclose(stdout);
fclose(stderr);
- ret = snprintf(buf, sizeof(buf), "%s/quota", SBIN_DIR);
+ ret = snprintf(buf, sizeof(buf), "%s/cyr_quota", SBIN_DIR);
if(ret < 0 || ret >= (int) sizeof(buf)) {
/* in child, so fatailing won't disconnect our user */
fatal("quota buffer not sufficiently big", EC_CONFIG);