summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index c21b88ff20..3878dabb60 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3095,7 +3095,7 @@ BOOL lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
ZERO_STRUCT(vfskey);
pstr_sprintf(vfskey, "%s:", pszParmName);
slen = strlen(vfskey);
- safe_strcat(vfskey, sep+1, sizeof(pstring));
+ pstrcat(vfskey, sep+1);
trim_string(vfskey+slen, " ", " ");
not_added = True;
data = (snum < 0) ? Globals.param_opt :