sesser          Wed Mar 12 07:00:27 2003 EDT

  Modified files:              
    /php4/main  main.c 
  Log:
  reverting half the patch (it is not that simple)
  
  
  
Index: php4/main/main.c
diff -u php4/main/main.c:1.537 php4/main/main.c:1.538
--- php4/main/main.c:1.537      Sat Mar  8 10:20:12 2003
+++ php4/main/main.c    Wed Mar 12 07:00:22 2003
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.537 2003/03/08 15:20:12 sesser Exp $ */
+/* $Id: main.c,v 1.538 2003/03/12 12:00:22 sesser Exp $ */
 
 /* {{{ includes
  */
@@ -579,14 +579,6 @@
        TSRMLS_FETCH();
 
        buffer_len = vspprintf(&buffer, PG(log_errors_max_len), format, args);
-       if (PG(html_errors)) {
-               int len;
-               char *replace = php_escape_html_entities(buffer, buffer_len, &len, 0, 
ENT_COMPAT, NULL TSRMLS_CC);
-               efree(buffer);
-               buffer = replace;
-               buffer_len = len;
-       }
-
        if (PG(ignore_repeated_errors)) {
                if (strncmp(last_error.buf, buffer, sizeof(last_error.buf))
                        || (!PG(ignore_repeated_source)



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

Reply via email to