summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-03-12 21:01:25 +0000
committerAndrew Tridgell <tridge@samba.org>2003-03-12 21:01:25 +0000
commit00d89c3f7c647b56381ba333658c0ed8e02dccdc (patch)
tree054d73e3c8b3ed10fe91ca8765f6f30e2ffc6760
parent15ae0c4dedbfb279c9ee77cd37e9c4a55b8434e5 (diff)
downloadsamba-00d89c3f7c647b56381ba333658c0ed8e02dccdc.tar.gz
samba-00d89c3f7c647b56381ba333658c0ed8e02dccdc.tar.bz2
samba-00d89c3f7c647b56381ba333658c0ed8e02dccdc.zip
fixed a strcat noticed by metze
(This used to be commit db3ad0dbe0bca729f98ca5d5a698388fe086daf2)
-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 :