summaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2018-02-05 21:57:39 +0100
committerMichael Kaufmann <mail@michael-kaufmann.ch>2018-02-05 22:02:10 +0100
commitd25b0503795f1fbf557632ce870298f52f2a78c1 (patch)
treef3e73d71451c73ab3d6e39b71a057de92edd91b9 /src/tool_cfgable.h
parent84ad1fd3047815f9c6e78728bb351b828eac10b1 (diff)
downloadcurl-d25b0503795f1fbf557632ce870298f52f2a78c1.tar.gz
time-cond: fix reading the file modification time on Windows
On Windows, stat() may adjust the unix file time by a daylight saving time offset. Avoid this by calling GetFileTime() instead. Fixes #2164 Closes #2204
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 713739e7a..0f316775d 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -169,7 +169,7 @@ struct OperationConfig {
long proxy_ssl_version;
long ip_version;
curl_TimeCond timecond;
- time_t condtime;
+ curl_off_t condtime;
struct curl_slist *headers;
struct curl_slist *proxyheaders;
curl_mime *mimepost;