diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-16 11:18:04 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-16 11:18:04 +0000 |
commit | 070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0 (patch) | |
tree | cf9e6c4753bb547da80db1b7e3abf92c0da49fe3 /source/smbd/files.c | |
parent | 5f022629146701e6d543f77007dc944e4277ab0c (diff) | |
download | samba-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.c | 2 |
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); |