cvs: /php4 main.c

From: Date: Fri, 30 Jul 1999 13:17:29 +0000
Subject: cvs: /php4 main.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-2968@lists.php.net to get a copy of this message
andrey Fri Jul 30 09:17:29 1999 EDT Modified files: /php4 main.c Log: Fix for bug #1907. Index: php4/main.c diff -u php4/main.c:1.89 php4/main.c:1.90 --- php4/main.c:1.89 Sat Jul 24 18:16:54 1999 +++ php4/main.c Fri Jul 30 09:17:29 1999 @@ -19,7 +19,7 @@ */ -/* $Id: main.c,v 1.89 1999/07/24 22:16:54 andrey Exp $ */ +/* $Id: main.c,v 1.90 1999/07/30 13:17:29 andrey Exp $ */ #include <stdio.h> @@ -270,7 +270,7 @@ /* Try to use the specified logging location. */ if (PG(error_log) != NULL) { #if HAVE_SYSLOG_H - if (strcmp(PG(error_log), "syslog")) { + if (!strcmp(PG(error_log), "syslog")) { syslog(LOG_NOTICE, log_message); return; } else {

« previous php.version4 (#2968) next »