summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2021-03-05 13:36:15 -0500
committerFrank Ch. Eigler <fche@redhat.com>2021-03-05 13:36:15 -0500
commitf82f46fc6880509a539ed8194e9616d818eae88d (patch)
treed4cc618ea4048ca0e14ff6d36a70a4846abb501b
parent480b6fa3662ba8ffeee274bf0d37423413c01e55 (diff)
downloadelfutils-f82f46fc6880509a539ed8194e9616d818eae88d.tar.gz
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 <tbaeder@redhat.com>
-rw-r--r--debuginfod/debuginfod-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
index de26af5b..21dd3767 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,