mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
- Warning fixes by Steph
This commit is contained in:
parent
84fc80064b
commit
5a69b29082
17 changed files with 36 additions and 36 deletions
|
@ -531,7 +531,7 @@ static int fcgi_read_request(fcgi_request *req)
|
|||
}
|
||||
len = p - buf - sizeof(fcgi_header);
|
||||
len += fcgi_make_header((fcgi_header*)buf, FCGI_GET_VALUES_RESULT, 0, len);
|
||||
if (safe_write(req, buf, sizeof(fcgi_header)+len) != sizeof(fcgi_header)+len) {
|
||||
if (safe_write(req, buf, sizeof(fcgi_header)+len) != (int)sizeof(fcgi_header)+len) {
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue