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:
d4d292d
)
async_connect_send TEVENT_FD_READ
author
Stefan Metzmacher
<metze@samba.org>
Wed, 2 Oct 2019 14:56:30 +0000
(07:56 -0700)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 28 Jan 2020 12:26:51 +0000
(13:26 +0100)
lib/async_req/async_sock.c
patch
|
blob
|
history
diff --git
a/lib/async_req/async_sock.c
b/lib/async_req/async_sock.c
index 0a8a333f4f34152dedb6f3d423be3f4c3135144b..ed83f66777579a701ec9f2ed53c67e422e4bc1ec 100644
(file)
--- a/
lib/async_req/async_sock.c
+++ b/
lib/async_req/async_sock.c
@@
-147,7
+147,7
@@
struct tevent_req *async_connect_send(
return tevent_req_post(req, ev);
}
- state->fde = tevent_add_fd(ev, state, fd, TEVENT_FD_WRITE,
+ state->fde = tevent_add_fd(ev, state, fd, TEVENT_FD_
READ|TEVENT_FD_
WRITE,
async_connect_connected, req);
if (state->fde == NULL) {
tevent_req_error(req, ENOMEM);