git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2eec4
)
r22926: Don't use <=0, use < 0 to allow keepalives to propagate up.
author
Jeremy Allison
<jra@samba.org>
Wed, 16 May 2007 01:49:33 +0000
(
01:49
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:22:09 +0000
(12:22 -0500)
Jeremy.
(This used to be commit
bf0313629e16c27461b028d3ea49185e99fc4d9c
)
source3/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sock.c
b/source3/lib/util_sock.c
index d491fe7e4cc16a4eaaf23738b515dffd184767a8..d102e570ab1f17ed105223ff87485e108f4bdc57 100644
(file)
--- a/
source3/lib/util_sock.c
+++ b/
source3/lib/util_sock.c
@@
-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;
}