summaryrefslogtreecommitdiff
path: root/source/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-07 12:26:32 -0800
committerJeremy Allison <jra@samba.org>2007-12-07 12:26:32 -0800
commit4c32a22ac50ada3275d2ffba3c1aa08bee7d1549 (patch)
tree455cc3cf009e05c964254a782bdde8fd85249cf8 /source/nmbd
parent86700b7e2e79e634b41c272632e42b2e64f58ba3 (diff)
downloadsamba-4c32a22ac50ada3275d2ffba3c1aa08bee7d1549.tar.gz
Don't build rpctorture anymore - not maintained. Just remove.
Remove all vestiges of pstring (except for smbctool as noted in previous commit). Jeremy
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}