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, ...)
va_end (ap);
}
+#ifndef USE_MAILBOX_QUOTAS
+# define mda_mailquota_cfg NULL
+#endif
+
static struct mu_cli_capa mda_cli_capa[] = {
{ "forward", NULL, mda_forward_cfg },
{ "deliver", mda_deliver_options, mda_deliver_cfg },
-#ifdef USE_MAILBOX_QUOTAS
{ "quota", NULL, mda_mailquota_cfg },
-#endif
{ "script", mda_script_options, mda_script_cfg },
{ NULL }
};

Return to:

Send suggestions and report system problems to the System administrator.