Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: zend_exceptions.c
- ===================================================================
- RCS file: /repository/ZendEngine2/zend_exceptions.c,v
- retrieving revision 1.133
- diff -u -r1.133 zend_exceptions.c
- --- zend_exceptions.c 26 Mar 2009 20:01:38 -0000 1.133
- +++ zend_exceptions.c 7 May 2009 11:33:45 -0000
- @@ -581,9 +581,9 @@
- Return previous Exception or NULL. */
- ZEND_METHOD(exception, getPrevious)
- {
- - zval *previous;
- - previous = zend_read_property(default_exception_ce, getThis(), "previous", sizeof("previous")-1, 1 TSRMLS_CC);
- - RETURN_ZVAL(previous, 1, 0);
- + DEFAULT_0_PARAMS;
- +
- + _default_exception_get_entry(getThis(), "previous", sizeof("previous")-1, return_value TSRMLS_CC);
- }
- int zend_spprintf(char **message, int max_len, char *format, ...) /* {{{ */
Add Comment
Please, Sign In to add comment