diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-11-19 23:25:47 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-11-19 23:25:47 +0000 |
commit | 52f6f666c3ffd368f98d5be963e2e7a92f3dc82b (patch) | |
tree | 4a94cce231591fbbcdc6cbaf74b7e4f427662e6a /cgi-bin | |
parent | 9380acaa78e7b36fe924662ce3134bdb9acc4225 (diff) |
Merge changes from CUPS 1.4svn-r8148.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1068 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cgi-bin')
-rw-r--r-- | cgi-bin/classes.c | 6 | ||||
-rw-r--r-- | cgi-bin/printers.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/cgi-bin/classes.c b/cgi-bin/classes.c index fa4b49edc..b7ea287a5 100644 --- a/cgi-bin/classes.c +++ b/cgi-bin/classes.c @@ -3,7 +3,7 @@ * * Class status CGI for the Common UNIX Printing System (CUPS). * - * Copyright 2007 by Apple Inc. + * Copyright 2007-2008 by Apple Inc. * Copyright 1997-2006 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -14,6 +14,10 @@ * * Contents: * + * main() - Main entry for CGI. + * do_class_op() - Do a class operation. + * show_all_classes() - Show all classes... + * show_class() - Show a single class. */ /* diff --git a/cgi-bin/printers.c b/cgi-bin/printers.c index 300d4869e..e2fa42b8f 100644 --- a/cgi-bin/printers.c +++ b/cgi-bin/printers.c @@ -14,6 +14,10 @@ * * Contents: * + * main() - Main entry for CGI. + * do_printer_op() - Do a printer operation. + * show_all_printers() - Show all printers... + * show_printer() - Show a single printer. */ /* @@ -261,7 +265,7 @@ do_printer_op(http_t *http, /* I - HTTP connection */ cgiRewriteURL(uri, url, sizeof(url), NULL); cgiFormEncode(uri, url, sizeof(uri)); - snprintf(refresh, sizeof(refresh), "5;URL=q%s", uri); + snprintf(refresh, sizeof(refresh), "5;URL=%s", uri); cgiSetVariable("refresh_page", refresh); cgiStartHTML(title); |