git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME
[kai/samba-autobuild/.git]
/
lib
/
async_req
/
async_sock.c
diff --git
a/lib/async_req/async_sock.c
b/lib/async_req/async_sock.c
index 46ad29d053473ce952b19dd7800b4f6ac1e17bef..02ae88068380406366af07c4f6f665f668e31a73 100644
(file)
--- a/
lib/async_req/async_sock.c
+++ b/
lib/async_req/async_sock.c
@@
-116,10
+116,10
@@
bool async_req_is_errno(struct async_req *req, int *err)
*err = (int)error;
break;
case ASYNC_REQ_TIMED_OUT:
-#ifdef
HAVE_
ETIMEDOUT
+#ifdef ETIMEDOUT
*err = ETIMEDOUT;
#else
- *err = E
IO
;
+ *err = E
AGAIN
;
#endif
break;
case ASYNC_REQ_NO_MEMORY: