cvs: php-src(PHP_4_4) /sapi/apache mod_php4.c
| From: | Rasmus Lerdorf | Date: | Sat, 13 May 2006 21:42:15 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /sapi/apache mod_php4.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38190@lists.php.net to get a copy of this message | ||
rasmus Sat May 13 21:42:15 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/sapi/apache mod_php4.c
Log:
ap_get_client_block can return -1, so don't use an unsigned int here
http://cvs.php.net/viewcvs.cgi/php-src/sapi/apache/mod_php4.c?r1=1.146.2.15.2.2&r2=1.146.2.15.2.3&diff_format=u
Index: php-src/sapi/apache/mod_php4.c
diff -u php-src/sapi/apache/mod_php4.c:1.146.2.15.2.2 php-src/sapi/apache/mod_php4.c:1.146.2.15.2.3
--- php-src/sapi/apache/mod_php4.c:1.146.2.15.2.2 Sun Apr 2 17:59:33 2006
+++ php-src/sapi/apache/mod_php4.c Sat May 13 21:42:14 2006
@@ -17,7 +17,7 @@
| PHP 4.0 patches by Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: mod_php4.c,v 1.146.2.15.2.2 2006/04/02 17:59:33 iliaa Exp $ */
+/* $Id: mod_php4.c,v 1.146.2.15.2.3 2006/05/13 21:42:14 rasmus Exp $ */
#include "php_apache_http.h"
#include "http_conf_globals.h"
@@ -126,7 +126,7 @@
*/
static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC)
{
- uint total_read_bytes=0, read_bytes;
+ int total_read_bytes=0, read_bytes;
request_rec *r = (request_rec *) SG(server_context);
void (*handler)(int);