git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5677c63
)
smbd: Fix CID 1138328 Logically dead code
author
Volker Lendecke
<vl@samba.org>
Sun, 15 Dec 2013 20:18:07 +0000
(21:18 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 17 Dec 2013 00:57:13 +0000
(
01:57
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index 768a9c8c05a935e1d6f3a662f5774da9a197275e..fe42ac99f9922aa62ee356e8c326f2175d75b9d4 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-2963,10
+2963,12
@@
static int socket_error_from_errno(int ret,
}
#ifdef EWOULDBLOCK
+#if EWOULDBLOCK != EAGAIN
if (sys_errno == EWOULDBLOCK) {
*retry = true;
return sys_errno;
}
+#endif
#endif
return sys_errno;