From: Sascha Schumann Date: Thu, 28 Aug 2003 17:16:01 +0000 (+0000) Subject: fix error message X-Git-Tag: php-4.3.4RC1~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7f085d84b55fefe28b16c4c18b3fb9a1703d3a0;p=php fix error message --- 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);