]> granicus.if.org Git - php/commitdiff
Oops
authorZeev Suraski <zeev@php.net>
Sat, 10 Apr 1999 21:30:49 +0000 (21:30 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 10 Apr 1999 21:30:49 +0000 (21:30 +0000)
main/main.c

index 2a925095871bd0b70f85667d6c2a7c1ec8a256a3..b3ed6cd04d82c4215a7937913eb1250eb0323cba 100644 (file)
@@ -609,8 +609,8 @@ static void php_message_handler_for_zend(long message, void *data)
 
                                if (EG(error_reporting)&E_WARNING) {
 #if ZEND_DEBUG
-#      if APACHE  /* log into the errorlog, since at this time we can't send messages to the browser */
                                        mem_header *t = (mem_header *) data;
+#      if APACHE  /* log into the errorlog, since at this time we can't send messages to the browser */
                                        char memory_leak_buf[512];
 
                                        snprintf(memory_leak_buf,512,"Possible PHP3 memory leak detected (harmless):  %d bytes from %s:%d",t->size,t->filename,t->lineno);