mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Merge branch 'PHP-5.6'
This commit is contained in:
commit
95142d9015
@ -614,7 +614,7 @@ void sapi_cgi_log_fastcgi(int level, char *message, size_t len)
|
||||
* - the message is not empty
|
||||
*/
|
||||
if (CGIG(fcgi_logging) && request && message && len > 0) {
|
||||
int ret;
|
||||
ssize_t ret;
|
||||
char *buf = malloc(len + 2);
|
||||
memcpy(buf, message, len);
|
||||
memcpy(buf + len, "\n", sizeof("\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user