From: Felipe Pena Date: Wed, 30 Dec 2009 12:50:17 +0000 (+0000) Subject: - Fixed ZTS build X-Git-Tag: RELEASE_1_7_0~22 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=ac6011fd12223817daa9ab93f8208da0281022b6 - Fixed ZTS build --- diff --git a/http_api.c b/http_api.c index 00461d9..7979e7b 100644 --- a/http_api.c +++ b/http_api.c @@ -182,7 +182,7 @@ zval *_http_exception_wrap(zval *old_exception, zval *new_exception, zend_class_ } #if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3 Z_ADDREF_P(old_exception); - zend_exception_set_previous(new_exception, old_exception); + zend_exception_set_previous(new_exception, old_exception TSRMLS_CC); #endif zval_ptr_dtor(&old_exception); return new_exception;