summaryrefslogtreecommitdiff
path: root/cgi-bin/ipp-var.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-09-17 19:54:07 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-09-17 19:54:07 +0000
commitb19ccc9e271691cc71a08e9968c58f464ebeade5 (patch)
tree222499e15a781dcecfe0681b23825003d78caa8b /cgi-bin/ipp-var.c
parent49d8745278805ede5c41bae3c299e14ba40457bf (diff)
downloadcups-b19ccc9e271691cc71a08e9968c58f464ebeade5.tar.gz
Merge changes from CUPS 1.4svn-r7961.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@969 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cgi-bin/ipp-var.c')
-rw-r--r--cgi-bin/ipp-var.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cgi-bin/ipp-var.c b/cgi-bin/ipp-var.c
index 4ee9ef867..95305030e 100644
--- a/cgi-bin/ipp-var.c
+++ b/cgi-bin/ipp-var.c
@@ -1,5 +1,5 @@
/*
- * "$Id: ipp-var.c 7541 2008-05-05 21:22:58Z mike $"
+ * "$Id: ipp-var.c 7940 2008-09-16 00:45:16Z mike $"
*
* CGI <-> IPP variable routines for the Common UNIX Printing System (CUPS).
*
@@ -1351,12 +1351,12 @@ cgiShowJobs(http_t *http, /* I - Connection to server */
cgiCopyTemplateLang("jobs-header.tmpl");
- if (count > 0)
+ if (count > CUPS_PAGE_MAX)
cgiCopyTemplateLang("pager.tmpl");
cgiCopyTemplateLang("jobs.tmpl");
- if (count > 0)
+ if (count > CUPS_PAGE_MAX)
cgiCopyTemplateLang("pager.tmpl");
cupsArrayDelete(jobs);
@@ -1384,5 +1384,5 @@ cgiText(const char *message) /* I - Message */
/*
- * End of "$Id: ipp-var.c 7541 2008-05-05 21:22:58Z mike $".
+ * End of "$Id: ipp-var.c 7940 2008-09-16 00:45:16Z mike $".
*/