From 2357a51e098d3b0f7ff6dfceac37ea42b3c32338 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 16 Mar 2008 12:11:19 -0700 Subject: [PATCH] A daemon no longer tries to refuse the iconv option when it is not enabled. --- options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/options.c b/options.c index d1e1ff67..ac34a5c3 100644 --- a/options.c +++ b/options.c @@ -902,8 +902,10 @@ int parse_arguments(int *argc_p, const char ***argv_p) set_refuse_options(ref); if (am_daemon) { set_refuse_options("log-file*"); +#ifdef ICONV_OPTION if (!*lp_charset(module_id)) set_refuse_options("iconv"); +#endif } #ifdef ICONV_OPTION -- 2.34.1