X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=parsers.c;h=2b2043c32e0ba64216b020f2628ffa5e3315bd8c;hp=e42fd56baac8cae1d8710932bf6e1acebff160de;hb=b28e9205bb0d4ac98d591c6e506219438799d56c;hpb=c8d8e9808ebf5fce076240436a9f4535c0ceaa30 diff --git a/parsers.c b/parsers.c index e42fd56b..2b2043c3 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.15 2001/06/03 19:12:38 oes Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.16 2001/06/29 13:32:42 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -41,6 +41,11 @@ const char parsers_rcs[] = "$Id: parsers.c,v 1.15 2001/06/03 19:12:38 oes Exp $" * * Revisions : * $Log: parsers.c,v $ + * Revision 1.16 2001/06/29 13:32:42 oes + * - Fixed a comment + * - Adapted free_http_request + * - Removed logentry from cancelled commit + * * Revision 1.15 2001/06/03 19:12:38 oes * deleted const struct interceptors * @@ -741,12 +746,12 @@ char *content_type(const struct parsers *v, char *s, struct client_state *csp) char *content_length(const struct parsers *v, char *s, struct client_state *csp) { if (csp->content_length != 0) /* Content has been modified */ - { - s = (char *) zalloc(100); - sprintf(s, "Content-Length: %d", csp->content_length); - log_error(LOG_LEVEL_HEADER, "Adjust Content-Length to %d", csp->content_length); - return(s); - } + { + s = (char *) zalloc(100); + sprintf(s, "Content-Length: %d", csp->content_length); + log_error(LOG_LEVEL_HEADER, "Adjust Content-Length to %d", csp->content_length); + return(s); + } else { return(strdup(s));