mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
This commit is contained in:
parent
32d1b3ad55
commit
176b72284c
67 changed files with 187 additions and 187 deletions
|
@ -154,7 +154,7 @@ PHP_FUNCTION(recode_string)
|
|||
|
||||
recode_buffer_to_buffer(request, str, str_len, &r, &r_len, &r_alen);
|
||||
if (!r) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Recoding failed.");
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Recoding failed");
|
||||
error_exit:
|
||||
RETVAL_FALSE;
|
||||
} else {
|
||||
|
@ -207,7 +207,7 @@ PHP_FUNCTION(recode_file)
|
|||
}
|
||||
|
||||
if (!recode_file_to_file(request, in_fp, out_fp)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Recoding failed.");
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Recoding failed");
|
||||
goto error_exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue