From a412ed39de1606a767e3e68bfcb4e16e3165238b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 12 Mar 2003 21:02:45 +0000 Subject: fixed a strcat noticed by metze (This used to be commit 533fe94db95fbb819b35251d9832c925584b7eca) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit