diff options
author | Andrei Sedoi <bsnote@gmail.com> | 2016-10-27 06:43:04 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-27 09:14:24 +0200 |
commit | 50ef91b59ae4b0bad0956f6e0424878f5de366e3 (patch) | |
tree | 58d8d521c04d61b057fa13e707a30e8064ff1bd0 | |
parent | 62a8095e714734459cea12301c3f52fa48b63c5c (diff) |
docs: fix req->data in multi-uv example
Closes #1088
-rw-r--r-- | docs/examples/multi-uv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/multi-uv.c b/docs/examples/multi-uv.c index 51526c894..51ef9f6d6 100644 --- a/docs/examples/multi-uv.c +++ b/docs/examples/multi-uv.c @@ -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); |