This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-core".

The branch, master has been updated
       via  a45e44a9c9095cfa266647cd805e7301a9b06aab (commit)
      from  742352af92e4dd6d48183a8b54f717b4f565b0e8 (commit)


Summary of changes:
 cbits/timefuncs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a45e44a9c9095cfa266647cd805e7301a9b06aab
Author: Gregory Collins <[email protected]>
Date:   Wed May 26 12:02:22 2010 -0400

    Fix timezone issue -- call the correct C function

diff --git a/cbits/timefuncs.c b/cbits/timefuncs.c
index a209638..52b513d 100644
--- a/cbits/timefuncs.c
+++ b/cbits/timefuncs.c
@@ -11,7 +11,7 @@ void set_c_locale() {
 time_t c_parse_http_time(char* s) {
     struct tm dest;
     strptime(s, "%a, %d %b %Y %H:%M:%S GMT", &dest);
-    return mktime(&dest);
+    return timegm(&dest);
 }
 
 void c_format_http_time(time_t src, char* dest) {
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-core
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to