summaryrefslogtreecommitdiff
path: root/backend/ipp.c
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2013-09-27 11:05:02 +0200
committerDidier Raboud <odyx@debian.org>2013-09-27 11:05:02 +0200
commite89cd45b5c13f176689eb571884719236b4baa89 (patch)
tree895f25ab9018c6f343a261f0c1e5e3ae0bdd9362 /backend/ipp.c
parent3bbeb8a0d4f608995924ae6360556d4b589bdf4c (diff)
downloadcups-upstream/1.6.4.tar.gz
Imported Upstream version 1.6.4upstream/1.6.4
Diffstat (limited to 'backend/ipp.c')
-rw-r--r--backend/ipp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/ipp.c b/backend/ipp.c
index 264405ae..efd570ae 100644
--- a/backend/ipp.c
+++ b/backend/ipp.c
@@ -1,5 +1,5 @@
/*
- * "$Id: ipp.c 9759 2011-05-11 03:24:33Z mike $"
+ * "$Id: ipp.c 11221 2013-08-06 16:16:01Z msweet $"
*
* IPP backend for CUPS.
*
@@ -1609,8 +1609,8 @@ main(int argc, /* I - Number of command-line args */
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME,
"requesting-user-name", NULL, argv[2]);
- if ((i + 1) >= num_files)
- ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", 1);
+ ippAddBoolean(request, IPP_TAG_OPERATION, "last-document",
+ (i + 1) >= num_files);
if (document_format)
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
@@ -3391,5 +3391,5 @@ update_reasons(ipp_attribute_t *attr, /* I - printer-state-reasons or NULL */
}
/*
- * End of "$Id: ipp.c 9759 2011-05-11 03:24:33Z mike $".
+ * End of "$Id: ipp.c 11221 2013-08-06 16:16:01Z msweet $".
*/