mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Convert last_error_file to zend_string
This commit is contained in:
parent
a1c6ee2164
commit
b66eb866c9
5 changed files with 9 additions and 8 deletions
|
@ -1169,7 +1169,7 @@ static void php_cli_server_log_response(php_cli_server_client *client, int statu
|
|||
/* error */
|
||||
if (append_error_message) {
|
||||
spprintf(&error_buf, 0, " - %s in %s on line %d",
|
||||
ZSTR_VAL(PG(last_error_message)), PG(last_error_file), PG(last_error_lineno));
|
||||
ZSTR_VAL(PG(last_error_message)), ZSTR_VAL(PG(last_error_file)), PG(last_error_lineno));
|
||||
if (!error_buf) {
|
||||
efree(basic_buf);
|
||||
if (message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue