git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed silly typo that causes receive_local_message to loop - caused by
[ira/wip.git]
/
source3
/
smbd
/
oplock.c
diff --git
a/source3/smbd/oplock.c
b/source3/smbd/oplock.c
index 9bc7d64381e02d31513b91764c6c936fb843cf57..f83ef0c6d35bab20e7710d658caa84aa61f47531 100644
(file)
--- a/
source3/smbd/oplock.c
+++ b/
source3/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);