diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2013-04-09 20:10:23 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2013-04-09 20:10:23 +0000 |
commit | 6961465fb290ecc4f99b4e3a8225d594782d15f5 (patch) | |
tree | 5b75ee52addb9f6ef3104966cdefb388b2bb21e9 /cups/dest-job.c | |
parent | cb7f98ee7f57af247aacb94977c8f744a1d02eca (diff) | |
download | cups-6961465fb290ecc4f99b4e3a8225d594782d15f5.tar.gz |
Merge changes from CUPS 1.7b1-r10947.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4274 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/dest-job.c')
-rw-r--r-- | cups/dest-job.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cups/dest-job.c b/cups/dest-job.c index 9131b3ca4..85009faec 100644 --- a/cups/dest-job.c +++ b/cups/dest-job.c @@ -112,6 +112,8 @@ cupsCloseDestJob( return (IPP_STATUS_ERROR_INTERNAL); } + ippSetVersion(request, info->version / 10, info->version % 10); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, info->uri); ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", @@ -189,6 +191,8 @@ cupsCreateDestJob( return (IPP_STATUS_ERROR_INTERNAL); } + ippSetVersion(request, info->version / 10, info->version % 10); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, info->uri); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", @@ -327,6 +331,8 @@ cupsStartDestDocument( return (HTTP_STATUS_ERROR); } + ippSetVersion(request, info->version / 10, info->version % 10); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, info->uri); ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", job_id); |