From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 6 Sep 2006 16:25:51 +0000 (+0000)
Subject: Always have parse_header_time return a pointer
X-Git-Tag: v_3_0_5~83
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@edit-actions-add-url-form?a=commitdiff_plain;h=f5f2cd9da473aae3559aec2a7af4afecbce98d12;p=privoxy.git

Always have parse_header_time return a pointer
that actual makes sense, even though we currently
only need it to detect problems.
---

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);
 }