block/curl.c: Fix CURLOPT_VERBOSE parameter type
PATCH 1/1 block/curl.c: Fix CURLOPT_VERBOSE parameter type
In commit ed26056d90 ("block/curl.c: Use explicit long constants in curl_easy_setopt calls") we missed a further call that takes a long parameter.
Signed-off-by Richard W.M. Jones <[email protected]>
Thanks: Kevin Wolf
--- block/curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/curl.c +1 -1
@@ -524,7 +524,7 @@ static int curl_init_state(BDRVCURLState *s, CURLState *state)#endif #ifdef DEBUG_VERBOSE -if (curl_easy_setopt (state->curl,CURLOPT_VERBOSE ,1 )) { +if (curl_easy_setopt (state->curl,CURLOPT_VERBOSE ,1L )) { goto err; }#endif
Signature · 1 line
2.50.1
Kevin Wolf
AppliedAm 13.10.2025 um 14:41 hat Richard W.M. Jones geschrieben:
Quoted 6 lines
In commit
ed26056d90("block/curl.c: Use explicit long constants incurl_easy_setoptcalls") we missed a further call that takes a long parameter.Signed-off-by Richard W.M. Jones <[email protected]>Thanks: Kevin Wolf
Thanks, applied to the block branch.
Kevin