diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/curl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/block/curl.c b/block/curl.c index 3caa9be1f7..5223ce8790 100644 --- a/block/curl.c +++ b/block/curl.c @@ -83,17 +83,17 @@ static int curl_sock_cb(CURL *curl, curl_socket_t fd, int action, dprintf("CURL (AIO): Sock action %d on fd %d\n", action, fd); switch (action) { case CURL_POLL_IN: - qemu_aio_set_fd_handler(fd, curl_multi_do, NULL, NULL, s); + qemu_aio_set_fd_handler(fd, curl_multi_do, NULL, NULL, NULL, s); break; case CURL_POLL_OUT: - qemu_aio_set_fd_handler(fd, NULL, curl_multi_do, NULL, s); + qemu_aio_set_fd_handler(fd, NULL, curl_multi_do, NULL, NULL, s); break; case CURL_POLL_INOUT: qemu_aio_set_fd_handler(fd, curl_multi_do, - curl_multi_do, NULL, s); + curl_multi_do, NULL, NULL, s); break; case CURL_POLL_REMOVE: - qemu_aio_set_fd_handler(fd, NULL, NULL, NULL, NULL); + qemu_aio_set_fd_handler(fd, NULL, NULL, NULL, NULL, NULL); break; } |