summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2004-02-11 00:45:07 +0000
committerRui Hirokawa <hirokawa@php.net>2004-02-11 00:45:07 +0000
commit815fe886b82d15f70c177015bf84b074adefdec8 (patch)
tree180d55eadfef77c71acec84f4c34722a01ff4e85
parent816d15252b6a527ede461508bcba0d0bb06c0338 (diff)
downloadphp-git-815fe886b82d15f70c177015bf84b074adefdec8.tar.gz
fixed a compilation error.
-rw-r--r--sapi/apache2handler/sapi_apache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index e6faeb20b5..ddafafadd9 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -424,7 +424,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");