From: Fabian Keil Date: Tue, 23 Oct 2012 10:18:19 +0000 (+0000) Subject: Hide get_expected_content_length() when compiling without FEATURE_CONNECTION_KEEP_ALIVE X-Git-Tag: v_3_0_20~205 X-Git-Url: http://www.privoxy.org/gitweb/images/static/gitweb.js?a=commitdiff_plain;h=cd1ebac900d51ba149e7caefe3cef080cb20e92d;p=privoxy.git Hide get_expected_content_length() when compiling without FEATURE_CONNECTION_KEEP_ALIVE It's not called and references functions that aren't available in that scenario. --- diff --git a/parsers.c b/parsers.c index db9527e1..f0219eee 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.257 2012/10/21 12:39:27 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.258 2012/10/21 12:58:03 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -4328,6 +4328,7 @@ static void create_content_length_header(unsigned long long content_length, } +#ifdef FEATURE_CONNECTION_KEEP_ALIVE /********************************************************************* * * Function : get_expected_content_length @@ -4359,7 +4360,7 @@ unsigned long long get_expected_content_length(struct list *headers) return content_length; } - +#endif /* Local Variables: