From f5f2cd9da473aae3559aec2a7af4afecbce98d12 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 6 Sep 2006 16:25:51 +0000 Subject: [PATCH] Always have parse_header_time return a pointer that actual makes sense, even though we currently only need it to detect problems. --- parsers.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/parsers.c b/parsers.c index 3e524c24..77e6c1a2 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.67 2006/09/04 11:01:26 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.68 2006/09/06 10:43:32 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -40,6 +40,12 @@ const char parsers_rcs[] = "$Id: parsers.c,v 1.67 2006/09/04 11:01:26 fabiankeil * * Revisions : * $Log: parsers.c,v $ + * Revision 1.68 2006/09/06 10:43:32 fabiankeil + * Added config option enable-remote-http-toggle + * to specify if Privoxy should recognize special + * headers (currently only X-Filter) to change its + * behaviour. Disabled by default. + * * Revision 1.67 2006/09/04 11:01:26 fabiankeil * After filtering de-chunked instances, remove * "Transfer-Encoding" header entirely instead of changing @@ -2906,6 +2912,7 @@ struct tm *parse_header_time(char *header, time_t *tm) { else { *tm = timegm(&gmt); + timeptr=&gmt; } return(timeptr); } -- 2.39.2