diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-12 15:33:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-12 15:33:47 -0400 |
commit | e8cc9f3edf21ff56ba16cf716e74eb1efba0b0f1 (patch) | |
tree | 542f6c5e4efe8c4e4c2ff9cb1dab099d18e9791f /src/common/compat.c | |
parent | ce6f2d1c4da5125cdd4a69fcc4cd45f7c3d6ca8d (diff) | |
parent | 4165b1a0da893a9f67a2ba32b4fcd54a7804ce14 (diff) | |
download | tor-e8cc9f3edf21ff56ba16cf716e74eb1efba0b0f1.tar.gz tor-e8cc9f3edf21ff56ba16cf716e74eb1efba0b0f1.zip |
Merge branch 'maint-0.2.7' into maint-0.2.8
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index af61f024ef..23eaa134cf 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -2923,6 +2923,7 @@ correct_tm(int islocal, const time_t *timep, struct tm *resultbuf, r->tm_mon = 11; r->tm_mday = 31; r->tm_yday = 364; + r->tm_wday = 6; r->tm_hour = 23; r->tm_min = 59; r->tm_sec = 59; @@ -2931,6 +2932,7 @@ correct_tm(int islocal, const time_t *timep, struct tm *resultbuf, r->tm_mon = 0; r->tm_mday = 1; r->tm_yday = 0; + r->tm_wday = 0; r->tm_hour = 0; r->tm_min = 0; r->tm_sec = 0; @@ -2948,6 +2950,7 @@ correct_tm(int islocal, const time_t *timep, struct tm *resultbuf, r->tm_mon = 0; r->tm_mday = 1; r->tm_yday = 0; + r->tm_wday = 0; r->tm_hour = 0; r->tm_min = 0 ; r->tm_sec = 0; @@ -2961,6 +2964,7 @@ correct_tm(int islocal, const time_t *timep, struct tm *resultbuf, r->tm_mon = 11; r->tm_mday = 31; r->tm_yday = 364; + r->tm_wday = 6; r->tm_hour = 23; r->tm_min = 59; r->tm_sec = 59; |