summaryrefslogtreecommitdiffstats
path: root/source/smbd/files.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-16 11:18:04 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-16 11:18:04 +0000
commit070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0 (patch)
treecf9e6c4753bb547da80db1b7e3abf92c0da49fe3 /source/smbd/files.c
parent5f022629146701e6d543f77007dc944e4277ab0c (diff)
downloadsamba-070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0.tar.gz
samba-070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0.tar.xz
samba-070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0.zip
use string_set() instead of string_init()
bug pointed out by Richard
Diffstat (limited to 'source/smbd/files.c')
-rw-r--r--source/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/files.c b/source/smbd/files.c
index d6203580cf5..dd1f7037f6f 100644
--- a/source/smbd/files.c
+++ b/source/smbd/files.c
@@ -97,7 +97,7 @@ files_struct *file_new(void )
files_used++;
fsp->fnum = i + FILE_HANDLE_OFFSET;
- string_init(&fsp->fsp_name,"");
+ string_set(&fsp->fsp_name,"");
DLIST_ADD(Files, fsp);