diff options
author | Jeremy Allison <jra@samba.org> | 2002-05-24 00:19:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-05-24 00:19:59 +0000 |
commit | e27062ce752787f14b1098a1f58de557456ba65b (patch) | |
tree | 5fa68c2cb169d8aa7b636063c7f0f9e656866662 /source3/smbd | |
parent | da563c93df07f332e845ce82f5d08e13192af559 (diff) | |
download | samba-e27062ce752787f14b1098a1f58de557456ba65b.tar.gz samba-e27062ce752787f14b1098a1f58de557456ba65b.tar.bz2 samba-e27062ce752787f14b1098a1f58de557456ba65b.zip |
If we don't do the select don't do the recvfrom.
Jeremy.
(This used to be commit f536ec62242c5c644e03afa19f4a3ebedf36f80d)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/oplock.c | 1 |
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) { |