mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
This commit is contained in:
parent
67e23f4be3
commit
1616038698
92 changed files with 261 additions and 257 deletions
|
@ -1857,7 +1857,7 @@ static int php_cli_server_send_error_page(php_cli_server *server, php_cli_server
|
|||
if (!chunk) {
|
||||
goto fail;
|
||||
}
|
||||
snprintf(chunk->data.heap.p, chunk->data.heap.len, prologue_template, status, status_string, ZSTR_VAL(escaped_request_uri));
|
||||
snprintf(chunk->data.heap.p, chunk->data.heap.len, prologue_template, status, status_string);
|
||||
chunk->data.heap.len = strlen(chunk->data.heap.p);
|
||||
php_cli_server_buffer_append(&client->content_sender.buffer, chunk);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue