summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2018-07-03 19:45:49 -0400
committerJason Woodward2018-07-03 19:52:10 -0400
commit69362c8058bb46ee1b47d0a89c631ae9bed4a76e (patch)
tree62f1557d485d7fcbfe08eb0d8cc8ef618a15c8f9
parent61ea36db7970d743aedc0d9abc9325883617bb4c (diff)
downloadslapt-get-69362c8058bb46ee1b47d0a89c631ae9bed4a76e.tar.gz
reminder to revisit CURLINFO_FILETIME for FILETIME_T in newer libcurl
-rw-r--r--src/curl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/curl.c b/src/curl.c
index 042296d..4bcba0d 100644
--- a/src/curl.c
+++ b/src/curl.c
@@ -81,6 +81,7 @@ int slapt_download_data(FILE *fh, const char *url, size_t bytes, long *filetime,
return_code = response;
}
+ /* XXX Use CURLINFO_FILETIME_T with 7.59+ */
if (filetime != NULL)
curl_easy_getinfo(ch, CURLINFO_FILETIME, filetime);