diff options
author | Sascha Schumann <sas@php.net> | 2003-08-28 17:09:44 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-08-28 17:09:44 +0000 |
commit | b9a67764d5a93317f626e2f48e4f48ff4408e9b4 (patch) | |
tree | b8bdbdc1c4d10af062fc9b97d5b1e94b4820f075 /ext/pcre/php_pcre.c | |
parent | af8e15b8db31582eb61db06d5c61bde4beeb8fa7 (diff) | |
download | php-git-b9a67764d5a93317f626e2f48e4f48ff4408e9b4.tar.gz |
Fix error message
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 19d2124ded..e88c222ea3 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -751,7 +751,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); - php_error_docref(NULL TSRMLS_CC,E_ERROR, "Failed evaluating code:\n%s", code); + php_error_docref(NULL TSRMLS_CC,E_ERROR, "Failed evaluating code:\n%s", code.c); /* zend_error() does not return in this case */ } efree(compiled_string_description); |