From: Fabian Keil Date: Sun, 4 Sep 2011 11:31:17 +0000 (+0000) Subject: Adjust a comment in parse_header_time(). Zeroing out gmt is documented to be required... X-Git-Tag: v_3_0_18~112 X-Git-Url: http://www.privoxy.org/gitweb/%40user-manual%40%40helplink%40SET-IMAGE-BLOCKER?a=commitdiff_plain;h=7939a85e14fdd1349ee77726815ded5c068f2f48;p=privoxy.git Adjust a comment in parse_header_time(). Zeroing out gmt is documented to be required for GNU libc --- diff --git a/parsers.c b/parsers.c index 7721f587..76e6a6a0 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.226 2011/08/31 13:35:21 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.227 2011/09/04 11:10:56 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -4011,11 +4011,7 @@ static jb_err parse_header_time(const char *header_time, time_t *result) /* * Zero out gmt to prevent time zone offsets. - * - * While this is only necessary on some platforms - * (mingw32 for example), I don't know how to - * detect these automatically and doing it everywhere - * shouldn't hurt. + * Documented to be required for GNU libc. */ memset(&gmt, 0, sizeof(gmt));