From a43405ef98adf2343d9b10d13e3af7c1e8826f06 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 9 Feb 2008 21:38:32 +0000 Subject: [PATCH] Attempt to fix httpdate_to_timestamp() on freebsd --- webcit/fmt_date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/fmt_date.c b/webcit/fmt_date.c index 6bfebd4d5..13a4eb928 100644 --- a/webcit/fmt_date.c +++ b/webcit/fmt_date.c @@ -220,7 +220,7 @@ time_t httpdate_to_timestamp(char *buf) * some systems. */ tzset(); - tt.tm_sec -= timezone; + tt.tm_sec = tt.tm_sec - (int)timezone; t = mktime(&tt); return t; } -- 2.30.2