debuginfod: Check all curl_easy_setopt calls
authorMark Wielaard <mark@klomp.org>
Mon, 9 May 2022 16:20:02 +0000 (18:20 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 14 May 2022 13:22:54 +0000 (15:22 +0200)
commit4a13bd2cf82a401cbe5850fe9a8bd3fcb5b13bfb
tree788c511bb24d520ea103d01cf87317d18b304353
parentb814a7e45199d1c0812f3dffc23284ef66988f1e
debuginfod: Check all curl_easy_setopt calls

curl_easy_setup can fail for various reasons. Add a curl_easy_setopt_ck
macro to check all curl_easy_setopt calls and provides a human readable
error message in verbose mode.

Signed-off-by: Mark Wielaard <mark@klomp.org>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c