[libvirt PATCH] ch: use CURLOPT_UPLOAD instead of CURLOPT_PUT

Michal Prívozník mprivozn at redhat.com
Wed Jan 18 10:01:50 UTC 2023


On 1/18/23 10:46, Daniel P. Berrangé wrote:
> The CURLOPT_PUT constant causes a deprecation warning when compiling on
> Alpine Edge.  The docs indicate it is deprecated since 7.2.1
> 
>   https://curl.se/libcurl/c/CURLOPT_PUT.html
> 
> We already use CURLOPT_UPLOAD in the ESX driver, so this brings the CH
> driver into line.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/ch/ch_monitor.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal



More information about the libvir-list mailing list