git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03a4db
)
fixed a strcat noticed by metze
author
Andrew Tridgell
<tridge@samba.org>
Wed, 12 Mar 2003 21:02:45 +0000
(21:02 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 12 Mar 2003 21:02:45 +0000
(21:02 +0000)
(This used to be commit
533fe94db95fbb819b35251d9832c925584b7eca
)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 27e02c1685d1367baf2eeddd519e59a67cf445bb..3ff6b3e22f4765085ced42a3e433c6c422d90697 100644
(file)
--- 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);