From 28f38da5063d88fd8fc503cb56a8b6bafa1d953d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 May 2019 13:43:13 +0200 Subject: CURLOPT_CHUNK_BGN_FUNCTION.3: document the struct and time value The time field in the curl_fileinfo struct will always be zero. No code was ever implemented to actually convert the date string to a time_t. Fixes #3829 Closes #3835 --- include/curl/curl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/curl/curl.h') diff --git a/include/curl/curl.h b/include/curl/curl.h index 75f780cd7..d83b21798 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -290,7 +290,7 @@ typedef enum { struct curl_fileinfo { char *filename; curlfiletype filetype; - time_t time; + time_t time; /* always zero! */ unsigned int perm; int uid; int gid; -- cgit v1.2.3