hirokawa                Tue Feb 10 19:45:08 2004 EDT

  Modified files:              
    /php-src/sapi/apache2handler        sapi_apache2.c 
  Log:
  fixed a compilation error.
  
http://cvs.php.net/diff.php/php-src/sapi/apache2handler/sapi_apache2.c?r1=1.35&r2=1.36&ty=u
Index: php-src/sapi/apache2handler/sapi_apache2.c
diff -u php-src/sapi/apache2handler/sapi_apache2.c:1.35 
php-src/sapi/apache2handler/sapi_apache2.c:1.36
--- php-src/sapi/apache2handler/sapi_apache2.c:1.35     Mon Feb  9 18:27:42 2004
+++ php-src/sapi/apache2handler/sapi_apache2.c  Tue Feb 10 19:45:07 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: sapi_apache2.c,v 1.35 2004/02/09 23:27:42 iliaa Exp $ */
+/* $Id: sapi_apache2.c,v 1.36 2004/02/11 00:45:07 hirokawa Exp $ */
 
 #define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
 
@@ -424,7 +424,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");

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to