[PATCH] debginfod-client: Fix typo in curl feature detection
tbaeder@redhat.com
tbaeder@redhat.com
Thu Mar 4 09:22:28 GMT 2021
From: Timm Bäder <tbaeder@redhat.com>
CURLINFO_CURLINFO_CONTENT_LENGTH_DOWNLOAD_T is one CURLINFO_ too much.
Signed-off-by: Timm Bäder <tbaeder@redhat.com>
---
debuginfod/debuginfod-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
index df238e07..a1394737 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,
--
2.26.2
More information about the Elfutils-devel
mailing list