From 4c32a22ac50ada3275d2ffba3c1aa08bee7d1549 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 7 Dec 2007 12:26:32 -0800 Subject: Don't build rpctorture anymore - not maintained. Just remove. Remove all vestiges of pstring (except for smbctool as noted in previous commit). Jeremy --- source/nmbd/nmbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/nmbd') diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c index 17e56b07569..52f1cd15f5e 100644 --- a/source/nmbd/nmbd.c +++ b/source/nmbd/nmbd.c @@ -289,7 +289,7 @@ static bool reload_nmbd_services(bool test) if ( lp_loaded() ) { const char *fname = lp_configfile(); if (file_exist(fname,NULL) && !strcsequal(fname,dyn_CONFIGFILE)) { - pstrcpy(dyn_CONFIGFILE,fname); + strlcpy(dyn_CONFIGFILE,fname,sizeof(dyn_CONFIGFILE)); test = False; } } -- cgit v1.2.1