From: Matthew Booth <mbo...@redhat.com> Signed-off-by: Matthew Booth <mbo...@redhat.com> Tested-by: Richard W.M. Jones <rjo...@redhat.com> Signed-off-by: Kevin Wolf <kw...@redhat.com> --- block/curl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/block/curl.c b/block/curl.c index 6731d28..0404dbd 100644 --- a/block/curl.c +++ b/block/curl.c @@ -256,7 +256,8 @@ static void curl_multi_read(BDRVCURLState *s) case CURLMSG_DONE: { CURLState *state = NULL; - curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, (char**)&state); + curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, + (char **)&state); /* ACBs for successful messages get completed in curl_read_cb */ if (msg->data.result != CURLE_OK) { -- 1.8.3.1