year bump
[m6w6/ext-http] / http_api.c
index 00461d9d7e49050e8212769e0667548eaa6f2486..5599ef5db845224961abc685fa3ad2375d56a70d 100644 (file)
@@ -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 <mike@php.net>            |
+    | Copyright (c) 2004-2010, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
@@ -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;