summaryrefslogtreecommitdiff
path: root/comsat
diff options
context:
space:
mode:
Diffstat (limited to 'comsat')
-rw-r--r--comsat/comsat.c12
-rw-r--r--comsat/tests/testsuite.at2
2 files changed, 7 insertions, 7 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index e16f91a23..2a6d69fca 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -194,11 +194,11 @@ struct mu_cfg_param comsat_cfg_param[] = {
static char const *alt_args[] = { N_("--test MBOX-URL MSG-QID"), NULL };
static struct mu_cli_setup cli = {
- options,
- comsat_cfg_param,
- N_("GNU comsatd -- notify users about incoming mail"),
- "",
- alt_args,
+ .optv = options,
+ .cfg =comsat_cfg_param,
+ .prog_doc = N_("GNU comsatd -- notify users about incoming mail"),
+ .prog_alt_args = alt_args,
+ .server = 1
};
static char *capa[] = {
@@ -568,7 +568,7 @@ main (int argc, char **argv)
save_argv = argv;
- mu_cli (argc, argv, &cli, capa, NULL, &argc, &argv);
+ mu_cli (argc, argv, &cli, capa, server, &argc, &argv);
if (test_mode)
{
diff --git a/comsat/tests/testsuite.at b/comsat/tests/testsuite.at
index 4c042238d..a37ad5ba2 100644
--- a/comsat/tests/testsuite.at
+++ b/comsat/tests/testsuite.at
@@ -22,7 +22,7 @@ m4_pushdef([BIFF_MBOX],[`pwd`/mailbox])
dnl ------------------------------------------------------------
dnl comsatcmd
-m4_pushdef([comsatcmd],[comsatd --no-site --no-user --file ./biff.rc dnl
+m4_pushdef([comsatcmd],[comsatd --no-site-config --file ./biff.rc dnl
--set logging.syslog=no --test])
dnl ------------------------------------------------------------

Return to:

Send suggestions and report system problems to the System administrator.