]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Same as Lutz Heermann, but for PageLog - respect PageLog configuration when compiled... 5240/head
authorZdenek Dohnal <zdohnal@redhat.com>
Mon, 29 Jan 2018 11:48:29 +0000 (12:48 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Mon, 29 Jan 2018 11:48:29 +0000 (12:48 +0100)
scheduler/log.c

index 18d916f5f1ca7fd1690b768ff221cb632f1347d7..74790dc35968b426a406ba81044bcc91f47051f5 100644 (file)
@@ -956,7 +956,7 @@ cupsdLogPage(cupsd_job_t *job,              /* I - Job being printed */
   *bufptr = '\0';
 
 #ifdef HAVE_SYSTEMD_SD_JOURNAL_H
-  if (!strcmp(ErrorLog, "syslog"))
+  if (!strcmp(PageLog, "syslog"))
   {
     static const char * const job_states[] =
     {                                  /* job-state strings */