diff options
Diffstat (limited to 'source/namedbsubnet.c')
-rw-r--r-- | source/namedbsubnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/namedbsubnet.c b/source/namedbsubnet.c index 6364ebba543..4f0b647996d 100644 --- a/source/namedbsubnet.c +++ b/source/namedbsubnet.c @@ -308,11 +308,11 @@ void write_browse_list(time_t t) dump_names(); dump_workgroups(); - strcpy(fname,lp_lockdir()); + pstrcpy(fname,lp_lockdir()); trim_string(fname,NULL,"/"); strcat(fname,"/"); strcat(fname,SERVER_LIST); - strcpy(fnamenew,fname); + pstrcpy(fnamenew,fname); strcat(fnamenew,"."); f = fopen(fnamenew,"w"); |