summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-01-11 20:30:16 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-01-11 20:30:16 +0200
commit25c2fc05d935da69bf513a795a5a9f175990275f (patch)
tree5ae7ecb60eb016bbc3a0a26ad2a9775eceeba090
parent77cf5f0fd756ccef6ae133fd62fe13073f42373f (diff)
downloadmailutils-25c2fc05d935da69bf513a795a5a9f175990275f.tar.gz
mailutils-25c2fc05d935da69bf513a795a5a9f175990275f.tar.bz2
Fix building mda utilities with mailbox quotas off
-rw-r--r--mda/lib/util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mda/lib/util.c b/mda/lib/util.c
index 1e678723f..8c30930c6 100644
--- a/mda/lib/util.c
+++ b/mda/lib/util.c
@@ -156,12 +156,14 @@ mda_error (const char *fmt, ...)
156 va_end (ap); 156 va_end (ap);
157} 157}
158 158
159#ifndef USE_MAILBOX_QUOTAS
160# define mda_mailquota_cfg NULL
161#endif
162
159static struct mu_cli_capa mda_cli_capa[] = { 163static struct mu_cli_capa mda_cli_capa[] = {
160 { "forward", NULL, mda_forward_cfg }, 164 { "forward", NULL, mda_forward_cfg },
161 { "deliver", mda_deliver_options, mda_deliver_cfg }, 165 { "deliver", mda_deliver_options, mda_deliver_cfg },
162#ifdef USE_MAILBOX_QUOTAS
163 { "quota", NULL, mda_mailquota_cfg }, 166 { "quota", NULL, mda_mailquota_cfg },
164#endif
165 { "script", mda_script_options, mda_script_cfg }, 167 { "script", mda_script_options, mda_script_cfg },
166 { NULL } 168 { NULL }
167}; 169};

Return to:

Send suggestions and report system problems to the System administrator.