cups/cups-ipp-no-create-job.patch

26 lines
1009 B
Diff
Raw Normal View History

diff -up cups-1.5.4/backend/ipp.c.no-create-job cups-1.5.4/backend/ipp.c
--- cups-1.5.4/backend/ipp.c.no-create-job 2012-09-18 10:27:00.674951341 +0100
+++ cups-1.5.4/backend/ipp.c 2012-09-18 10:28:37.360322089 +0100
@@ -1127,21 +1127,10 @@ main(int argc, /* I - Number of comm
{
if (operations_sup->values[i].integer == IPP_VALIDATE_JOB)
validate_job = 1;
- else if (operations_sup->values[i].integer == IPP_CREATE_JOB)
- create_job = 1;
- else if (operations_sup->values[i].integer == IPP_SEND_DOCUMENT)
- send_document = 1;
else if (operations_sup->values[i].integer == IPP_GET_JOB_ATTRIBUTES)
get_job_attrs = 1;
}
- if (!send_document)
- {
- fputs("DEBUG: Printer supports Create-Job but not Send-Document.\n",
- stderr);
- create_job = 0;
- }
-
if (!validate_job)
update_reasons(NULL, "+cups-ipp-conformance-failure-report,"
"cups-ipp-missing-validate-job");