Guest User

Untitled

a guest
Jun 25th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Index: zend_exceptions.c
  2. ===================================================================
  3. RCS file: /repository/ZendEngine2/zend_exceptions.c,v
  4. retrieving revision 1.133
  5. diff -u -r1.133 zend_exceptions.c
  6. --- zend_exceptions.c 26 Mar 2009 20:01:38 -0000 1.133
  7. +++ zend_exceptions.c 7 May 2009 11:33:45 -0000
  8. @@ -581,9 +581,9 @@
  9. Return previous Exception or NULL. */
  10. ZEND_METHOD(exception, getPrevious)
  11. {
  12. - zval *previous;
  13. - previous = zend_read_property(default_exception_ce, getThis(), "previous", sizeof("previous")-1, 1 TSRMLS_CC);
  14. - RETURN_ZVAL(previous, 1, 0);
  15. + DEFAULT_0_PARAMS;
  16. +
  17. + _default_exception_get_entry(getThis(), "previous", sizeof("previous")-1, return_value TSRMLS_CC);
  18. }
  19.  
  20. int zend_spprintf(char **message, int max_len, char *format, ...) /* {{{ */
Add Comment
Please, Sign In to add comment