cvs: php-src(PHP_5_2) /sapi/cgi fastcgi.c
| From: | Dmitry Stogov | Date: | Tue, 13 Jun 2006 13:55:12 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /sapi/cgi fastcgi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38696@lists.php.net to get a copy of this message | ||
dmitry Tue Jun 13 13:55:12 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/sapi/cgi fastcgi.c
Log:
Removed warning
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/fastcgi.c?r1=1.4.2.13.2.5&r2=1.4.2.13.2.6&diff_format=u
Index: php-src/sapi/cgi/fastcgi.c
diff -u php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.5 php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.6
--- php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.5 Thu May 25 06:40:04 2006
+++ php-src/sapi/cgi/fastcgi.c Tue Jun 13 13:55:12 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fastcgi.c,v 1.4.2.13.2.5 2006/05/25 06:40:04 dmitry Exp $ */
+/* $Id: fastcgi.c,v 1.4.2.13.2.6 2006/06/13 13:55:12 dmitry Exp $ */
#include "php.h"
#include "fastcgi.h"
@@ -719,7 +719,7 @@
if (req->out_hdr) {
int len = req->out_pos - ((unsigned char*)req->out_hdr + sizeof(fcgi_header));
- req->out_pos += fcgi_make_header(req->out_hdr, req->out_hdr->type, req->id, len);
+ req->out_pos += fcgi_make_header(req->out_hdr, (fcgi_request_type)req->out_hdr->type,
req->id, len);
req->out_hdr = NULL;
}
}