sas             Thu Aug 28 13:16:02 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /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.132.2.8 php-src/ext/pcre/php_pcre.c:1.132.2.9
--- php-src/ext/pcre/php_pcre.c:1.132.2.8       Sat Jun 28 20:08:29 2003
+++ php-src/ext/pcre/php_pcre.c Thu Aug 28 13:16:01 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_pcre.c,v 1.132.2.8 2003/06/29 00:08:29 andrei Exp $ */
+/* $Id: php_pcre.c,v 1.132.2.9 2003/08/28 17:16:01 sas Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -753,7 +753,7 @@
        /* 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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to