summaryrefslogtreecommitdiffstats
path: root/lib/parsedate.c
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2020-08-19 07:37:28 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-19 16:44:30 (GMT)
commit7ceb56989f8ab3a4e1b1f2c48c9a0f382b85ec04 (patch)
tree936c40c921e79b8eabd623181d78167188bbc810 /lib/parsedate.c
parent4446fda8e019a0138bec1aa2d83a720d63019ff9 (diff)
downloadCMake-7ceb56989f8ab3a4e1b1f2c48c9a0f382b85ec04.zip
CMake-7ceb56989f8ab3a4e1b1f2c48c9a0f382b85ec04.tar.gz
CMake-7ceb56989f8ab3a4e1b1f2c48c9a0f382b85ec04.tar.bz2
curl 2020-08-19 (9d954e49)
Code extracted from: https://github.com/curl/curl.git at commit 9d954e49bce3706a9a2efb119ecd05767f0f2a9e (curl-7_72_0).
Diffstat (limited to 'lib/parsedate.c')
-rw-r--r--lib/parsedate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c
index 585d7ea..4c7a40c 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -624,6 +624,7 @@ CURLcode Curl_gmtime(time_t intime, struct tm *store)
/* thread-safe version */
tm = (struct tm *)gmtime_r(&intime, store);
#else
+ /* !checksrc! disable BANNEDFUNC 1 */
tm = gmtime(&intime);
if(tm)
*store = *tm; /* copy the pointed struct to the local copy */