gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: fix GNUNET_TIME_year_to_tim


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix GNUNET_TIME_year_to_time, do not start in February...
Date: Mon, 01 Jan 2018 18:19:44 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 04ff2b8f3 fix GNUNET_TIME_year_to_time, do not start in February...
04ff2b8f3 is described below

commit 04ff2b8f3b3b499e56a878b2d9166f03f7610784
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 1 18:16:40 2018 +0100

    fix GNUNET_TIME_year_to_time, do not start in February...
---
 src/util/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/time.c b/src/util/time.c
index 19100ac36..5ffb19ec1 100644
--- a/src/util/time.c
+++ b/src/util/time.c
@@ -693,7 +693,7 @@ GNUNET_TIME_year_to_time (unsigned int year)
   }
   t.tm_year = year - 1900;
   t.tm_mday = 1;
-  t.tm_mon = 1;
+  t.tm_mon = 0;
   t.tm_wday = 1;
   t.tm_yday = 1;
   tp = mktime (&t);

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



reply via email to

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