]> granicus.if.org Git - php/commitdiff
(php3_log_err): Don't output error message to stderr when
authorAndrei Zmievski <andrei@php.net>
Fri, 15 Oct 1999 20:27:38 +0000 (20:27 +0000)
committerAndrei Zmievski <andrei@php.net>
Fri, 15 Oct 1999 20:27:38 +0000 (20:27 +0000)
running as CGI binary.

main/main.c

index c2c5a496475476a747da7b3937d800f5251366a0..13efae6296a2d72974ee07c2d88a9bb5c20625fa 100644 (file)
@@ -333,12 +333,14 @@ void php3_log_err(char *log_message)
        }
 #endif                                                 /*APACHE */
 
+#if 0
 #if CGI_BINARY
        if (php3_header()) {
                fprintf(stderr, log_message);
                fprintf(stderr, "\n");
        }
 #endif
+#endif
 }