]> granicus.if.org Git - php/commitdiff
Fix build in ZTS mode
authorfoobar <sniper@php.net>
Thu, 13 Jun 2002 01:04:40 +0000 (01:04 +0000)
committerfoobar <sniper@php.net>
Thu, 13 Jun 2002 01:04:40 +0000 (01:04 +0000)
ext/pcre/php_pcre.c

index d8a4df8e5d81ac59a06dc72a942ffeda33e38dc9..9045d43bcdf4a7609482d3c416db7702255978ca 100644 (file)
@@ -383,7 +383,7 @@ static void php_pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global)
                        subpats_order = Z_LVAL_PP(flags) & 0xff;
                        if ((global && (subpats_order < PREG_PATTERN_ORDER || subpats_order > PREG_SET_ORDER)) ||
                                (!global && subpats_order != 0)) {
-                               zend_error(E_WARNING, "Wrong value for parameter 4 in call to %s()", get_active_function_name());
+                               zend_error(E_WARNING, "Wrong value for parameter 4 in call to %s()", get_active_function_name(TSRMLS_C));
                                return;
                        }
                        break;