diff options
author | Marcus Boerger <helly@php.net> | 2002-08-24 01:19:28 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-08-24 01:19:28 +0000 |
commit | 149ad05b4f35b595f281b6be2cb3521c4726e553 (patch) | |
tree | d70d81f4e077ddd7e66b3994373d4662bcf3a3e1 /ext/standard/formatted_print.c | |
parent | 928c4ad41daa7023528574c343f99934ef80089a (diff) | |
download | php-git-149ad05b4f35b595f281b6be2cb3521c4726e553.tar.gz |
php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
Diffstat (limited to 'ext/standard/formatted_print.c')
-rw-r--r-- | ext/standard/formatted_print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index 4657ce86e1..2bc7dbf87b 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -144,7 +144,7 @@ php_sprintf_appendchar(char **buffer, int *pos, int *size, char add TSRMLS_DC) { if ((*pos + 1) >= *size) { *size <<= 1; - PRINTF_DEBUG(("%s: ereallocing buffer to %d bytes\n", get_active_function_name(TSRMLS_C), *size)); + PRINTF_DEBUG(("%s(): ereallocing buffer to %d bytes\n", get_active_function_name(TSRMLS_C), *size)); *buffer = erealloc(*buffer, *size); } PRINTF_DEBUG(("sprintf: appending '%c', pos=\n", add, *pos)); @@ -475,7 +475,7 @@ php_formatted_print(int ht, int *len, int use_array TSRMLS_DC) if (currarg >= argc && format[inpos + 1] != '%') { efree(result); efree(args); - php_error(E_WARNING, "%s(): Too few arguments", get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too few arguments"); return NULL; } /* starting a new format specifier, reset variables */ @@ -496,7 +496,7 @@ php_formatted_print(int ht, int *len, int use_array TSRMLS_DC) if (argnum == 0) { efree(result); efree(args); - php_error(E_WARNING, "%s(): Zero is not a valid argument number", get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Zero is not a valid argument number"); return NULL; } @@ -507,7 +507,7 @@ php_formatted_print(int ht, int *len, int use_array TSRMLS_DC) if (argnum >= argc) { efree(result); efree(args); - php_error(E_WARNING, "%s(): Too few arguments", get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too few arguments"); return NULL; } |