diff options
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/file.c b/lib/file.c index 0478d3ebd..88d6bf26a 100644 --- a/lib/file.c +++ b/lib/file.c @@ -373,12 +373,12 @@ CURLcode Curl_file(struct connectdata *conn, bool *done) if(fstated) { const struct tm *tm; - time_t clock = (time_t)statbuf.st_mtime; + time_t filetime = (time_t)statbuf.st_mtime; #ifdef HAVE_GMTIME_R struct tm buffer; - tm = (const struct tm *)gmtime_r(&clock, &buffer); + tm = (const struct tm *)gmtime_r(&filetime, &buffer); #else - tm = gmtime(&clock); + tm = gmtime(&filetime); #endif /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */ snprintf(buf, BUFSIZE-1, |