diff options
author | Stanislav Malyshev <stas@php.net> | 2009-12-23 21:41:05 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2009-12-23 21:41:05 +0000 |
commit | 882a89fb227915c4fd1cecb9f13850f90e80020c (patch) | |
tree | 22a8caa276e2c64615957f901685f6890445765b /ext/intl/formatter/formatter_main.c | |
parent | f0c1cd512f53c787058d40f025bbbed529122309 (diff) | |
download | php-git-882a89fb227915c4fd1cecb9f13850f90e80020c.tar.gz |
cleanup some code, improve error handling
Diffstat (limited to 'ext/intl/formatter/formatter_main.c')
-rwxr-xr-x | ext/intl/formatter/formatter_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/formatter/formatter_main.c b/ext/intl/formatter/formatter_main.c index e2454d5053..8fa17560b8 100755 --- a/ext/intl/formatter/formatter_main.c +++ b/ext/intl/formatter/formatter_main.c @@ -141,7 +141,7 @@ PHP_FUNCTION( numfmt_get_error_message ) nfo = (NumberFormatter_object *) zend_object_store_get_object( object TSRMLS_CC ); /* Return last error message. */ - message = intl_error_get_message( &INTL_DATA_ERROR(nfo) TSRMLS_CC ); + message = intl_error_get_message( INTL_DATA_ERROR_P(nfo) TSRMLS_CC ); RETURN_STRING( message, 0); } /* }}} */ |