summaryrefslogtreecommitdiff
path: root/source3/smbd/oplock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/oplock.c')
-rw-r--r--source3/smbd/oplock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index f83ef0c6d3..f20885a7e1 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -80,6 +80,7 @@ BOOL receive_local_message( char *buffer, int buffer_len, int timeout)
fd_set fds;
int selrtn = -1;
+ FD_ZERO(&fds);
smb_read_error = 0;
while (timeout > 0 && selrtn == -1) {