diff options
author | Jeremy Allison <jra@samba.org> | 2002-05-24 00:17:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-05-24 00:17:01 +0000 |
commit | 4d3679e03e0c30602b1345cbf2fbf8587dff1f26 (patch) | |
tree | e1d76c0247b7410f305953cc584a62f07edea009 /source/smbd/oplock.c | |
parent | 63e2c7c5fe6eca86222a7a76d81ce1ee93ebde22 (diff) | |
download | samba-4d3679e03e0c30602b1345cbf2fbf8587dff1f26.tar.gz samba-4d3679e03e0c30602b1345cbf2fbf8587dff1f26.tar.xz samba-4d3679e03e0c30602b1345cbf2fbf8587dff1f26.zip |
Fixed silly typo that causes receive_local_message to loop - caused by
my removal of the goto. Oops !
Jeremy.
Diffstat (limited to 'source/smbd/oplock.c')
-rw-r--r-- | source/smbd/oplock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/oplock.c b/source/smbd/oplock.c index 9bc7d64381e..f83ef0c6d35 100644 --- a/source/smbd/oplock.c +++ b/source/smbd/oplock.c @@ -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); |