summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index e8fc64c9e1..c449073986 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -325,6 +325,10 @@ static bool string_set(TALLOC_CTX *mem_ctx, char **dest,const char *src)
return true;
}
+bool lp_string_set(char **dest, const char *src) {
+ return string_set(Globals.ctx, dest, src);
+}
+
/***************************************************************************
Initialise the sDefault parameter structure for the printer values.
***************************************************************************/