cvs: php-src /main main.c
| From: | Zeev Suraski | Date: | Tue, 10 Feb 2004 18:46:55 +0000 |
| Subject: | cvs: php-src /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26090@lists.php.net to get a copy of this message | ||
zeev Tue Feb 10 13:46:55 2004 EDT
Modified files:
/php-src/main main.c
Log:
Cleanup
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.590&r2=1.591&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.590 php-src/main/main.c:1.591
--- php-src/main/main.c:1.590 Tue Feb 10 12:55:32 2004
+++ php-src/main/main.c Tue Feb 10 13:46:53 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.590 2004/02/10 17:55:32 zeev Exp $ */
+/* $Id: main.c,v 1.591 2004/02/10 18:46:53 zeev Exp $ */
/* {{{ includes
*/
@@ -923,7 +923,7 @@
case ZMSG_MEMORY_LEAK_DETECTED:
case ZMSG_MEMORY_LEAK_REPEATED:
#if ZEND_DEBUG
- if ((EG(error_reporting) & E_WARNING) && PG(report_memleaks)) {
+ if (EG(error_reporting) & E_WARNING) {
char memory_leak_buf[512];
if (message==ZMSG_MEMORY_LEAK_DETECTED) {
@@ -952,7 +952,7 @@
break;
case ZMSG_MEMORY_LEAKS_GRAND_TOTAL:
#if ZEND_DEBUG
- if ((EG(error_reporting) & E_WARNING) && PG(report_memleaks)) {
+ if (EG(error_reporting) & E_WARNING) {
char memory_leak_buf[512];
snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n",
*((zend_uint *) data));