From: Ilia Alshanetsky Date: Wed, 11 Feb 2004 16:53:03 +0000 (+0000) Subject: MFH: fixed a compilation error. X-Git-Tag: php-4.3.5RC3~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17cef37fd1ffc08414e7e45a2cca4a92882f91e2;p=php MFH: fixed a compilation error. --- diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index fd5a117819..1859034372 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -429,7 +429,7 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC) ap_set_content_type(r, apr_pstrdup(r->pool, content_type)); efree(content_type); - content_length = (char *) apr_table_get(f->r->headers_in, "Content-Length"); + content_length = (char *) apr_table_get(r->headers_in, "Content-Length"); SG(request_info).content_length = (content_length ? atoi(content_length) : 0); apr_table_unset(r->headers_out, "Content-Length");