From b5e46c5e0569746bae0858272231beafefc40ad3 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 13 Jun 2002 01:04:40 +0000 Subject: Fix build in ZTS mode --- ext/pcre/php_pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pcre/php_pcre.c') diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index d8a4df8e5d..9045d43bcd 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -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; -- cgit v1.2.1