From 650b95045d0b02e1b53dcad3414d1dfde77f4e6b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 7 Dec 2001 15:51:59 +0000 Subject: added gmtime_r check --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/http.c b/lib/http.c index 1573f4456..c0b9ce1d3 100644 --- a/lib/http.c +++ b/lib/http.c @@ -735,7 +735,7 @@ CURLcode Curl_http(struct connectdata *conn) * equal to UTC (Coordinated Universal Time)." (see page 20 of RFC2616). */ -#ifdef HAVE_LOCALTIME_R +#ifdef HAVE_GMTIME_R /* thread-safe version */ /* We assume that the presense of localtime_r() proves the presense of gmtime_r() which is a bit ugly but might work */ -- cgit v1.2.3