mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r22926: Don't use <=0, use < 0 to allow keepalives to propagate up.
Jeremy.
This commit is contained in:
parent
e1052c0e3d
commit
bf0313629e
@ -738,7 +738,7 @@ ssize_t receive_smb_raw(int fd, char *buffer, unsigned int timeout, size_t maxle
|
||||
|
||||
BOOL receive_smb(int fd, char *buffer, unsigned int timeout)
|
||||
{
|
||||
if (receive_smb_raw(fd, buffer, timeout, 0) <= 0) {
|
||||
if (receive_smb_raw(fd, buffer, timeout, 0) < 0) {
|
||||
return False;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user