X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_api.c;h=5599ef5db845224961abc685fa3ad2375d56a70d;hp=00461d9d7e49050e8212769e0667548eaa6f2486;hb=6e57bd8181dc682eb8694a458c354eaa1c1d5520;hpb=758075cfcd90fe3e9b3db6feb0f675d35cb664a2 diff --git a/http_api.c b/http_api.c index 00461d9..5599ef5 100644 --- a/http_api.c +++ b/http_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2007, Michael Wallner | + | Copyright (c) 2004-2010, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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;