fix ZTS build
authorRemi Collet <fedora@famillecollet.com>
Fri, 10 Jan 2014 14:16:54 +0000 (15:16 +0100)
committerRemi Collet <fedora@famillecollet.com>
Fri, 10 Jan 2014 14:16:54 +0000 (15:16 +0100)
php_ircclient.c

index 0145dfdf2a6b05fcf6f5627817427ca23756343a..bf17d5ed44aad1b2014db8541b8020fc16ded12c 100644 (file)
@@ -1138,7 +1138,7 @@ static void call_closure(INTERNAL_FUNCTION_PARAMETERS, /* stupid non-const API *
                INIT_PZVAL(&za);
                array_init(&za);
 
-               if (SUCCESS == zend_copy_parameters_array(ZEND_NUM_ARGS(), &za)) {
+               if (SUCCESS == zend_copy_parameters_array(ZEND_NUM_ARGS(), &za TSRMLS_CC)) {
                        php_printf("ircclient: %s - ", prop_str);
                        zend_print_flat_zval_r(&za TSRMLS_CC);
                        php_printf("\n");