From 08a72f3a1571649eb52c7e06bab2789e0887c173 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 1 Jun 2011 11:53:21 +1000 Subject: s3-param Make lp_utmpdir() and lp_wtmpdir const This disables % substitutions in the 'utmp dir' and 'wtmp dir' parameters. These are system paths, and need to be consistent between all the Samba tasks. Andrew Bartlett --- source3/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index e7a172c93a..c51af0065c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1196,8 +1196,8 @@ const char *lp_cachedir(void); const char *lp_piddir(void); char *lp_mangling_method(void); int lp_mangle_prefix(void); -char *lp_utmpdir(void); -char *lp_wtmpdir(void); +const char *lp_utmpdir(void); +const char *lp_wtmpdir(void); bool lp_utmp(void); char *lp_rootdir(void); char *lp_defaultservice(void); -- cgit