A daemon no longer tries to refuse the iconv option when it is not enabled.

This commit is contained in:
Wayne Davison committed 2008-03-16 12:11:19 -07:00
1 parent 24ded29ff6
commit 2357a51e09
1 file changed
+2
+2
View File
@@ -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