From: Timm Bäder Date: Fri, 5 Mar 2021 18:36:15 +0000 (-0500) Subject: debuginfod-client: Fix typo in curl feature detection X-Git-Tag: elfutils-0.184~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f82f46fc6880509a539ed8194e9616d818eae88d;p=thirdparty%2Felfutils.git debuginfod-client: Fix typo in curl feature detection CURLINFO_CURLINFO_CONTENT_LENGTH_DOWNLOAD_T is one CURLINFO_ too much. Signed-off-by: Timm Bäder --- diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index de26af5bb..21dd37677 100644 --- a/debuginfod/debuginfod-client.c +++ b/debuginfod/debuginfod-client.c @@ -901,7 +901,7 @@ debuginfod_query_server (debuginfod_client *c, /* NB: If going through deflate-compressing proxies, this number is likely to be unavailable, so -1 may show. */ -#ifdef CURLINFO_CURLINFO_CONTENT_LENGTH_DOWNLOAD_T +#ifdef CURLINFO_CONTENT_LENGTH_DOWNLOAD_T curl_off_t cl; curl_res = curl_easy_getinfo(target_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T,