aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
-rw-r--r--modules/mailutils/mailutils.c12
2 files changed, 8 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 73b2d8f..8bec28d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,3 +1,3 @@
# This file is part of Smap. -*- autoconf -*-
-# Copyright (C) 2010, 2014, 2015 Sergey Poznyakoff
+# Copyright (C) 2010, 2014-2016 Sergey Poznyakoff
#
@@ -19,3 +19,3 @@ m4_define([SMAP_VERSION_MAJOR], 2)
m4_define([SMAP_VERSION_MINOR], 0)
-dnl m4_define([SMAP_VERSION_PATCH], 90)
+m4_define([SMAP_VERSION_PATCH], 90)
AC_INIT([smap],
@@ -103,3 +103,3 @@ AC_ARG_WITH([mailutils],
if test $status_mailutils != no; then
- AM_GNU_MAILUTILS(2.99.98, [all cfg auth],
+ AM_GNU_MAILUTILS(2.99.992, [all],
[status_mailutils=yes],
diff --git a/modules/mailutils/mailutils.c b/modules/mailutils/mailutils.c
index fff7429..26d04d6 100644
--- a/modules/mailutils/mailutils.c
+++ b/modules/mailutils/mailutils.c
@@ -1,3 +1,3 @@
/* This file is part of Smap.
- Copyright (C) 2006-2010, 2014 Sergey Poznyakoff
+ Copyright (C) 2006-2010, 2014, 2016 Sergey Poznyakoff
@@ -20,4 +20,2 @@
#include <mailutils/mailutils.h>
-#include <mailutils/cfg.h>
-#include <mailutils/libcfg.h>
#include <mailutils/sys/stream.h>
@@ -376,7 +374,7 @@ static const char *capa[] = {
static struct mu_cfg_param cfg_param[] = {
- { "positive-reply", mu_cfg_string, &dfl_positive_reply, 0, NULL,
+ { "positive-reply", mu_c_string, &dfl_positive_reply, 0, NULL,
"set default positive reply text" },
- { "negative-reply", mu_cfg_string, &dfl_negative_reply, 0, NULL,
+ { "negative-reply", mu_c_string, &dfl_negative_reply, 0, NULL,
"set default negative reply text" },
- { "onerror-reply", mu_cfg_string, &dfl_onerror_reply, 0, NULL,
+ { "onerror-reply", mu_c_string, &dfl_onerror_reply, 0, NULL,
"set default error reply text" },
@@ -579,3 +577,3 @@ init_hints(struct mu_cfg_parse_hints *hints)
MU_CFG_PARSE_SITE_RCFILE | MU_CFG_PARSE_PROGRAM;
- hints->site_rcfile = mu_site_rcfile;
+ hints->site_rcfile = mu_site_config_file();
hints->program = (char*) mu_program_name;

Return to:

Send suggestions and report system problems to the System administrator.