git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d913037
)
initialise fsp->fd to -1
author
Andrew Tridgell
<tridge@samba.org>
Mon, 10 Apr 2000 13:12:04 +0000
(13:12 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 10 Apr 2000 13:12:04 +0000
(13:12 +0000)
source/smbd/files.c
patch
|
blob
|
history
diff --git
a/source/smbd/files.c
b/source/smbd/files.c
index 127d2fcac9f5bcd8440330b9bb6fb3c40dad7226..e971de095b7237ee5891b14901c7f98788a93b20 100644
(file)
--- a/
source/smbd/files.c
+++ b/
source/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;