X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_api.h;h=9e5c389da97df25377b60c4849acc2f098ab0ed0;hb=6aca56d611a22eb559098f3c02c31634a6f9ff9f;hp=325378c4d0ec3d2e167d6efaafa8c36ccc196ca4;hpb=9676c81efbb8f180fa189d71a7ecb50dde4f5646;p=m6w6%2Fext-http diff --git a/php_http_api.h b/php_http_api.h index 325378c..9e5c389 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -54,9 +54,7 @@ extern zval *_http_exception_wrap(zval *old_exception, zval *new_exception, zend } #define http_final(ex_ce) \ if (EG(exception)) { \ - zval *exception = http_exception_wrap(EG(exception), NULL, ex_ce); \ - EG(exception) = NULL; \ - zend_throw_exception_object(exception TSRMLS_CC); \ + EG(exception) = http_exception_wrap(EG(exception), NULL, ex_ce); \ } #endif /* ZEND_ENGINE_2 */