mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFB: Make message punctuation consistent across PHP
This commit is contained in:
parent
76a7d60cc3
commit
0edbaebc24
1 changed files with 3 additions and 3 deletions
|
@ -333,7 +333,7 @@ static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *fi
|
|||
/* Create this filter */
|
||||
data = pecalloc(1, sizeof(php_bz2_filter_data), persistent);
|
||||
if (!data) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zu bytes.", sizeof(php_bz2_filter_data));
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zu bytes", sizeof(php_bz2_filter_data));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -346,14 +346,14 @@ static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *fi
|
|||
data->strm.avail_out = data->outbuf_len = data->inbuf_len = 2048;
|
||||
data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent);
|
||||
if (!data->inbuf) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zu bytes.", data->inbuf_len);
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zu bytes", data->inbuf_len);
|
||||
pefree(data, persistent);
|
||||
return NULL;
|
||||
}
|
||||
data->strm.avail_in = 0;
|
||||
data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent);
|
||||
if (!data->outbuf) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zu bytes.", data->outbuf_len);
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zu bytes", data->outbuf_len);
|
||||
pefree(data->inbuf, persistent);
|
||||
pefree(data, persistent);
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue