diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:15:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:15:50 +0000 |
commit | 1bb6cd3e44793f984a185599a1b67bec1746c9cb (patch) | |
tree | 40335c0662c5a1759dddb4cd77dec610d4a48459 /patch-cyrus-rename-quota | |
parent | 8b4f6660a4ef8974e8d1cb34f6ba34b66598d9f8 (diff) |
automatic import of cyrus-imapdopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'patch-cyrus-rename-quota')
-rw-r--r-- | patch-cyrus-rename-quota | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patch-cyrus-rename-quota b/patch-cyrus-rename-quota new file mode 100644 index 0000000..8ee854e --- /dev/null +++ b/patch-cyrus-rename-quota @@ -0,0 +1,13 @@ +diff --git a/imap/imapd.c b/imap/imapd.c +index 3cc75f5..a22a356 100644 +--- a/imap/imapd.c ++++ b/imap/imapd.c +@@ -8022,7 +8022,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", EX_CONFIG); |