debuginfod-client: Fix typo in curl feature detection
authorTimm Bäder <tbaeder@redhat.com>
Fri, 5 Mar 2021 18:36:15 +0000 (13:36 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 5 Mar 2021 18:36:15 +0000 (13:36 -0500)
CURLINFO_CURLINFO_CONTENT_LENGTH_DOWNLOAD_T is one CURLINFO_ too much.

Signed-off-by: Timm Bäder <tbaeder@redhat.com>
debuginfod/debuginfod-client.c

index de26af5..21dd376 100644 (file)
@@ -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,