cvs: php-src(PHP_4_3) /sapi/apache2handler sapi_apache2.c
| From: | Ilia Alshanetsky | Date: | Wed, 11 Feb 2004 16:53:03 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /sapi/apache2handler sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26113@lists.php.net to get a copy of this message | ||
iliaa Wed Feb 11 11:53:03 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/sapi/apache2handler sapi_apache2.c
Log:
MFH: fixed a compilation error.
http://cvs.php.net/diff.php/php-src/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.27&r2=1.1.2.28&ty=u
Index: php-src/sapi/apache2handler/sapi_apache2.c
diff -u php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.27
php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.28
--- php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.27 Mon Feb 9 18:28:47 2004
+++ php-src/sapi/apache2handler/sapi_apache2.c Wed Feb 11 11:53:03 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.1.2.27 2004/02/09 23:28:47 iliaa Exp $ */
+/* $Id: sapi_apache2.c,v 1.1.2.28 2004/02/11 16:53:03 iliaa Exp $ */
#include <fcntl.h>
@@ -429,7 +429,7 @@
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");