diff options
author | foobar <sniper@php.net> | 2005-08-18 13:34:41 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-08-18 13:34:41 +0000 |
commit | 94770975642a62c7eab277453a32af2ac756d46b (patch) | |
tree | 5a44c7cf91ada0442357a5c4ac68e564d0fff3ed /ext/pcre/php_pcre.c | |
parent | 75d362225c0f4a84269357e4d685e8dd201807f8 (diff) | |
download | php-git-94770975642a62c7eab277453a32af2ac756d46b.tar.gz |
MFH: Nuked EOLs from error messages
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 a94b8c0e4f..ea539803e1 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -792,7 +792,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.c); + php_error_docref(NULL TSRMLS_CC,E_ERROR, "Failed evaluating code: %s%s", PHP_EOL, code.c); /* zend_error() does not return in this case */ } efree(compiled_string_description); |