Skip to content

Commit

Permalink
Merge pull request #5974 from AtariDreams/patch-5
Browse files Browse the repository at this point in the history
Expand whitelist for use of "offline-report"
  • Loading branch information
michaelrsweet committed Oct 1, 2021
2 parents 26dcdbf + 6cf6e27 commit c702e85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scheduler/job.c
Original file line number Diff line number Diff line change
Expand Up @@ -3112,8 +3112,7 @@ finalize_job(cupsd_job_t *job, /* I - Job */
* rarely have current information for network devices...
*/

if (strncmp(job->printer->device_uri, "usb:", 4) &&
strncmp(job->printer->device_uri, "ippusb:", 7))
if (!strstr(job->printer->device_uri, "usb:"))
cupsdSetPrinterReasons(job->printer, "-offline-report");

/*
Expand Down

0 comments on commit c702e85

Please sign in to comment.