diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2012-08-29 00:26:48 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2012-08-29 00:26:48 +0000 |
commit | 37e7e6e0b27c7db3be8e160e87a63fec66e0fcca (patch) | |
tree | 08d7d4e2e80a04c648bc0137f9c8f3c26f0760fb /scheduler/cups-lpd.c | |
parent | a29fd7ddb5d63688a4d44d08e4ab16428921c321 (diff) | |
download | cups-37e7e6e0b27c7db3be8e160e87a63fec66e0fcca.tar.gz |
Merge changes from CUPS 1.7svn-r10578.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3891 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/cups-lpd.c')
-rw-r--r-- | scheduler/cups-lpd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scheduler/cups-lpd.c b/scheduler/cups-lpd.c index 49bfe8122..11bcd4df4 100644 --- a/scheduler/cups-lpd.c +++ b/scheduler/cups-lpd.c @@ -3,7 +3,7 @@ * * Line Printer Daemon interface for CUPS. * - * Copyright 2007-2011 by Apple Inc. + * Copyright 2007-2012 by Apple Inc. * Copyright 1997-2006 by Easy Software Products, all rights reserved. * * These coded instructions, statements, and computer programs are the @@ -744,8 +744,7 @@ print_file(http_t *http, /* I - HTTP connection */ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, format); - if (last) - ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", 1); + ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", last); /* * Do the request... |