cvs: php-src /ext/pcre php_pcre.c

From: Date: Thu, 28 Aug 2003 17:09:45 +0000
Subject: cvs: php-src /ext/pcre php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23458@lists.php.net to get a copy of this message
sas Thu Aug 28 13:09:45 2003 EDT Modified files: /php-src/ext/pcre php_pcre.c Log: Fix error message Index: php-src/ext/pcre/php_pcre.c diff -u php-src/ext/pcre/php_pcre.c:1.143 php-src/ext/pcre/php_pcre.c:1.144 --- php-src/ext/pcre/php_pcre.c:1.143 Sat Jun 28 20:09:41 2003 +++ php-src/ext/pcre/php_pcre.c Thu Aug 28 13:09:44 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.143 2003/06/29 00:09:41 andrei Exp $ */ +/* $Id: php_pcre.c,v 1.144 2003/08/28 17:09:44 sas Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -751,7 +751,7 @@ /* 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);

« previous php.cvs (#23458) next »