summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-05-09 20:21:28 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-05-09 20:21:28 (GMT)
commit4c4fce4f4a976371869ef05506b54a1960c29e02 (patch) (side-by-side diff)
treec15e3d43b5c3ea3995b0db728ded570cddaff1ac
parentbf87c2f6634b992252857076a5eadc6d16e9e9df (diff)
downloadmailutils-4c4fce4f4a976371869ef05506b54a1960c29e02.tar.gz
mailutils-4c4fce4f4a976371869ef05506b54a1960c29e02.tar.bz2
Maidag: fix coredump in daemon mode
* maidag/maidag.c (main): Pass pointer to the server as data parameter to mu_cli.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--maidag/maidag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/maidag/maidag.c b/maidag/maidag.c
index 6fb8085..b5f5504 100644
--- a/maidag/maidag.c
+++ b/maidag/maidag.c
@@ -551,7 +551,7 @@ main (int argc, char *argv[])
/* Parse command line */
mu_cli_capa_register (&mu_cli_capa_sieve);
- mu_cli (argc, argv, &cli, capa, NULL, &argc, &argv);
+ mu_cli (argc, argv, &cli, capa, server, &argc, &argv);
current_uid = getuid ();

Return to:

Send suggestions and report system problems to the System administrator.