gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 41/150: parsedate: s/#if/#ifdef


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 41/150: parsedate: s/#if/#ifdef
Date: Fri, 30 Mar 2018 16:48:15 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit fcb9b63ee53e0fafa256a10d8e5b490fab004462
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Jan 31 22:56:00 2018 +0100

    parsedate: s/#if/#ifdef
    
    Reported-by: Michael Kaufmann
    Bug: 
https://github.com/curl/curl/commit/1c39128d974666107fc6d9ea15f294036851f224#commitcomment-27246479
---
 lib/parsedate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/parsedate.c b/lib/parsedate.c
index 0dbaf3610..beaa1bbd5 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -498,7 +498,7 @@ static int parsedate(const char *date, time_t *output)
 
 #if (SIZEOF_TIME_T < 5)
 
-#if HAVE_TIME_T_UNSIGNED
+#ifdef HAVE_TIME_T_UNSIGNED
   /* an unsigned 32 bit time_t can only hold dates to 2106 */
   if(yearnum > 2105) {
     *output = TIME_T_MAX;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]