diff options
author | Felipe Pena <felipe@php.net> | 2008-08-11 19:48:00 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-08-11 19:48:00 +0000 |
commit | eb1837d9de56547f76459397a930f2e812547448 (patch) | |
tree | 0c8be24ca5b3bd7fd3735fc30cb6529351c2ff2b /ext/intl/intl_error.c | |
parent | 6d083e2c39aa15f9740d041ca007ae2f86d2f10f (diff) | |
download | php-git-eb1837d9de56547f76459397a930f2e812547448.tar.gz |
MFH:
- Added arginfo
- Fixed WS
- Changed C++ comments to C comments
Diffstat (limited to 'ext/intl/intl_error.c')
-rwxr-xr-x | ext/intl/intl_error.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/intl_error.c b/ext/intl/intl_error.c index 7c1df8e17a..93cfe004ea 100755 --- a/ext/intl/intl_error.c +++ b/ext/intl/intl_error.c @@ -106,13 +106,13 @@ void intl_error_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_D if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) return; - // Free previous message if any + /* Free previous message if any */ intl_free_custom_error_msg( err TSRMLS_CC ); - // Mark message copied if any + /* Mark message copied if any */ err->free_custom_error_message = copyMsg; - // Set user's error text message + /* Set user's error text message */ err->custom_error_message = copyMsg ? estrdup( msg ) : msg; } /* }}} */ @@ -130,7 +130,7 @@ char* intl_error_get_message( intl_error* err TSRMLS_DC ) uErrorName = u_errorName( err->code ); - // Format output string + /* Format output string */ if( err->custom_error_message ) { spprintf( &errMessage, 0, "%s: %s", err->custom_error_message, uErrorName ); |