1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

initialise fsp->fd to -1

(This used to be commit 5257ff5d67)
This commit is contained in:
Andrew Tridgell 2000-04-10 13:12:04 +00:00
parent 1e66881a0c
commit 2733f5352a

View File

@ -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;