diff options
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r-- | source3/smbd/files.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 127d2fcac9..e971de095b 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -84,6 +84,7 @@ files_struct *file_new(void ) if (!fsp) return NULL; ZERO_STRUCTP(fsp); + fsp->fd = -1; first_file = (i+1) % real_max_open_files; |