summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-03-12 21:02:45 +0000
committerAndrew Tridgell <tridge@samba.org>2003-03-12 21:02:45 +0000
commita412ed39de1606a767e3e68bfcb4e16e3165238b (patch)
tree7084b37d7ec9ea8d96fdd2712350e5294e09bafb /source3/param
parenta03a4db8aee986eb49837040e7712a73e3224447 (diff)
downloadsamba-a412ed39de1606a767e3e68bfcb4e16e3165238b.tar.gz
samba-a412ed39de1606a767e3e68bfcb4e16e3165238b.tar.bz2
samba-a412ed39de1606a767e3e68bfcb4e16e3165238b.zip
fixed a strcat noticed by metze
(This used to be commit 533fe94db95fbb819b35251d9832c925584b7eca)
Diffstat (limited to 'source3/param')
-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 27e02c1685..3ff6b3e22f 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2870,7 +2870,7 @@ BOOL lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
pstr_sprintf(vfskey, "%s:%s:",
(snum >= 0) ? lp_servicename(snum) : "global", pszParmName);
slen = strlen(vfskey);
- safe_strcat(vfskey, sep+1, sizeof(pstring));
+ pstrcat(vfskey, sep+1);
trim_string(vfskey+slen, " ", " ");
paramo = smb_xmalloc(sizeof(param_opt_struct));
paramo->key = strdup(vfskey);