You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
502 B
17 lines
502 B
1 year ago
|
diff --git a/scheduler/log.c b/scheduler/log.c
|
||
|
index 17331ff02..41ddb4cb9 100644
|
||
|
--- a/scheduler/log.c
|
||
|
+++ b/scheduler/log.c
|
||
|
@@ -569,11 +569,7 @@ cupsdLogJob(cupsd_job_t *job, /* I - Job */
|
||
|
* Format and write the log message...
|
||
|
*/
|
||
|
|
||
|
-#ifdef HAVE_SYSTEMD_SD_JOURNAL_H
|
||
|
- if (job && strcmp(ErrorLog, "syslog"))
|
||
|
-#else
|
||
|
if (job)
|
||
|
-#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */
|
||
|
snprintf(jobmsg, sizeof(jobmsg), "[Job %d] %s", job->id, message);
|
||
|
else
|
||
|
strlcpy(jobmsg, message, sizeof(jobmsg));
|