From e27062ce752787f14b1098a1f58de557456ba65b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 24 May 2002 00:19:59 +0000 Subject: If we don't do the select don't do the recvfrom. Jeremy. (This used to be commit f536ec62242c5c644e03afa19f4a3ebedf36f80d) --- source3/smbd/oplock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd') 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) { -- cgit