From e7f085d84b55fefe28b16c4c18b3fb9a1703d3a0 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 28 Aug 2003 17:16:01 +0000 Subject: [PATCH] fix error message --- ext/pcre/php_pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index ea4022ea2b..e20712b384 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -753,7 +753,7 @@ static int preg_do_eval(char *eval_str, int eval_str_len, char *subject, /* Run the code */ if (zend_eval_string(code.c, &retval, compiled_string_description TSRMLS_CC) == FAILURE) { efree(compiled_string_description); - zend_error(E_ERROR, "Failed evaluating code:\n%s", code); + zend_error(E_ERROR, "Failed evaluating code:\n%s", code.c); /* zend_error() does not return in this case */ } efree(compiled_string_description); -- 2.50.1