1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

docs: fix req->data in multi-uv example

Closes #1088
This commit is contained in:
Andrei Sedoi 2016-10-27 06:43:04 +00:00 committed by Daniel Stenberg
parent 62a8095e71
commit 50ef91b59a

View File

@ -146,7 +146,7 @@ void curl_perform(uv_poll_t *req, int status, int events)
if(events & UV_WRITABLE)
flags |= CURL_CSELECT_OUT;
context = (curl_context_t *) req;
context = (curl_context_t *) req->data;
curl_multi_socket_action(curl_handle, context->sockfd, flags,
&running_handles);