diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-10 13:12:04 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-10 13:12:04 +0000 |
commit | 2733f5352a384561b4df7ea14c5962f3cd079166 (patch) | |
tree | 9074fbf32242e0d6b426503d6578439708fe6a7e | |
parent | 1e66881a0c4cdd597f42904e53e0bd6e899a3a53 (diff) | |
download | samba-2733f5352a384561b4df7ea14c5962f3cd079166.tar.gz samba-2733f5352a384561b4df7ea14c5962f3cd079166.tar.bz2 samba-2733f5352a384561b4df7ea14c5962f3cd079166.zip |
initialise fsp->fd to -1
(This used to be commit 5257ff5d67632922a64266ad2ce5d5a38c701cbc)
-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; |