[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-commit
Subject:    [cups.commit] [CUPS] r9724 - trunk/scheduler
From:       cups-dev () easysw ! com
Date:       2011-04-27 23:29:26
Message-ID: 10495-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2011-04-27 16:29:25 -0700 (Wed, 27 Apr 2011)
New Revision: 9724
Log:
Create logs when *not* set to "syslog"...


Modified:
   trunk/scheduler/conf.c

Modified: trunk/scheduler/conf.c
===================================================================
--- trunk/scheduler/conf.c	2011-04-27 20:28:36 UTC (rev 9723)
+++ trunk/scheduler/conf.c	2011-04-27 23:29:25 UTC (rev 9724)
@@ -847,13 +847,13 @@
   * Make sure each of the log files exists and gets rotated as necessary...
   */
 
-  if (!strcmp(AccessLog, "syslog"))
+  if (strcmp(AccessLog, "syslog"))
     cupsdCheckLogFile(&AccessFile, AccessLog);
 
-  if (!strcmp(ErrorLog, "syslog"))
+  if (strcmp(ErrorLog, "syslog"))
     cupsdCheckLogFile(&ErrorFile, ErrorLog);
 
-  if (!strcmp(PageLog, "syslog"))
+  if (strcmp(PageLog, "syslog"))
     cupsdCheckLogFile(&PageFile, PageLog);
 
  /*

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic