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);

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

Reply via email to