summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 39097395de..0891eeb40a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -314,6 +314,12 @@ static bool handle_dos_charset(struct loadparm_context *unused, int snum, const
static bool handle_printing(struct loadparm_context *unused, int snum, const char *pszParmValue, char **ptr);
static bool handle_ldap_debug_level(struct loadparm_context *unused, int snum, const char *pszParmValue, char **ptr);
+/* these are parameter handlers which are not needed in the
+ * source3 code
+ */
+
+#define handle_logfile NULL
+
static void set_allowed_client_auth(void);
static void add_to_file_list(const char *fname, const char *subfname);
@@ -1279,7 +1285,7 @@ static struct parm_struct parm_table[] = {
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(logfile),
- .special = NULL,
+ .special = handle_logfile,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
},