projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* Fixed bug #14168 (st->errorbuffer not cleared between uses of persistent handles)
[m6w6/ext-http]
/
php_http_std_defs.h
diff --git
a/php_http_std_defs.h
b/php_http_std_defs.h
index d20579d8b025ca9618e3d73ea9aee3536018d3f4..fdbfafa5e4e4b0a5915f6851e067ddae2a0e004f 100644
(file)
--- a/
php_http_std_defs.h
+++ b/
php_http_std_defs.h
@@
-219,8
+219,8
@@
typedef int STATUS;
#ifdef ZEND_ENGINE_2
# define with_error_handling(eh, ec) \
{ \
#ifdef ZEND_ENGINE_2
# define with_error_handling(eh, ec) \
{ \
- error_handling_t __eh =
PG(error_handling)
; \
- zend_class_entry *__ec=
PG(exception_class)
; \
+ error_handling_t __eh =
GLOBAL_ERROR_HANDLING
; \
+ zend_class_entry *__ec=
GLOBAL_EXCEPTION_CLASS
; \
php_set_error_handling(eh, ec TSRMLS_CC);
# define end_error_handling() \
php_set_error_handling(__eh, __ec TSRMLS_CC); \
php_set_error_handling(eh, ec TSRMLS_CC);
# define end_error_handling() \
php_set_error_handling(__eh, __ec TSRMLS_CC); \