summaryrefslogtreecommitdiff
path: root/cgi-bin/printers.c
diff options
context:
space:
mode:
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-01-29 16:52:03 +0000
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-01-29 16:52:03 +0000
commita4d045870e17abe8840b77615c0d59f4b332ee31 (patch)
tree156a1bf6d89ea7d14d78d947a205f7317f4e0a9d /cgi-bin/printers.c
parent09ec001812911f8890dad0f164ab9098e22208cf (diff)
downloadcups-a4d045870e17abe8840b77615c0d59f4b332ee31.tar.gz
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@39 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cgi-bin/printers.c')
-rw-r--r--cgi-bin/printers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cgi-bin/printers.c b/cgi-bin/printers.c
index ddc027f51..fc0b65a9e 100644
--- a/cgi-bin/printers.c
+++ b/cgi-bin/printers.c
@@ -1,5 +1,5 @@
/*
- * "$Id: printers.c 4931 2006-01-14 20:37:40Z mike $"
+ * "$Id: printers.c 5023 2006-01-29 14:39:44Z mike $"
*
* Printer status CGI for the Common UNIX Printing System (CUPS).
*
@@ -392,8 +392,8 @@ show_printer(http_t *http, /* I - Connection to server */
request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES);
- httpAssembleURIf(uri, sizeof(uri), "ipp", NULL, "localhost", 0,
- "/printers/%s", printer);
+ httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL,
+ "localhost", 0, "/printers/%s", printer);
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL,
uri);
@@ -466,5 +466,5 @@ show_printer(http_t *http, /* I - Connection to server */
/*
- * End of "$Id: printers.c 4931 2006-01-14 20:37:40Z mike $".
+ * End of "$Id: printers.c 5023 2006-01-29 14:39:44Z mike $".
*/