- Fixed ZTS build
authorFelipe Pena <felipe@php.net>
Wed, 30 Dec 2009 12:50:17 +0000 (12:50 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 30 Dec 2009 12:50:17 +0000 (12:50 +0000)
http_api.c

index 00461d9d7e49050e8212769e0667548eaa6f2486..7979e7bdefcd551e0ac3847dc260a2b6b1e29098 100644 (file)
@@ -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;