Fixed silly typo that causes receive_local_message to loop - caused by
authorJeremy Allison <jra@samba.org>
Fri, 24 May 2002 00:17:01 +0000 (00:17 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 24 May 2002 00:17:01 +0000 (00:17 +0000)
my removal of the goto. Oops !
Jeremy.
(This used to be commit 4d3679e03e0c30602b1345cbf2fbf8587dff1f26)

source3/smbd/oplock.c

index 9bc7d64381e02d31513b91764c6c936fb843cf57..f83ef0c6d35bab20e7710d658caa84aa61f47531 100644 (file)
@@ -82,7 +82,7 @@ BOOL receive_local_message( char *buffer, int buffer_len, int timeout)
 
        smb_read_error = 0;
 
-       while (timeout > 0) {
+       while (timeout > 0 && selrtn == -1) {
                struct timeval to;
                int maxfd = oplock_sock;
                time_t starttime = time(NULL);