Skip to content

Commit

Permalink
[2.3] papd: Update printjob()
Browse files Browse the repository at this point in the history
This should be the job name.
  • Loading branch information
NJRoadfan committed Jan 16, 2024
1 parent be28439 commit 776d910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/papd/print_cups.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ int cups_print_job ( char * name, char *filename, char *job, char *username, cha
* Create a new print job.
*/

if (cupsCreateDestJob(CUPS_HTTP_DEFAULT, dest, info, &jobid, "Netatalk papd", num_options, options) == IPP_STATUS_OK)
if (cupsCreateDestJob(CUPS_HTTP_DEFAULT, dest, info, &jobid, job, num_options, options) == IPP_STATUS_OK)
LOG(log_info, logtype_papd, "Job '%s' queued to printer '%s' with id '%d'", job, name, jobid);
else
LOG(log_error, logtype_papd, "Unable to print job '%s' to printer '%s' for user '%s' - CUPS error : '%s'", job, name, username, cupsLastErrorString());
Expand Down

0 comments on commit 776d910

Please sign in to comment.