diff options
author | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-02-20 18:43:55 +0000 |
---|---|---|
committer | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-02-20 18:43:55 +0000 |
commit | bd7854cb4d663bb0e561eaf5b01bbd47baa71d22 (patch) | |
tree | bca042d698732a5e19035c88c6ffc39d80f543f1 /cgi-bin/printers.c | |
parent | 4400e98de24bd267328aa20d57951fb6678297fe (diff) |
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@60 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cgi-bin/printers.c')
-rw-r--r-- | cgi-bin/printers.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cgi-bin/printers.c b/cgi-bin/printers.c index fc0b65a9e..b745e2336 100644 --- a/cgi-bin/printers.c +++ b/cgi-bin/printers.c @@ -1,5 +1,5 @@ /* - * "$Id: printers.c 5023 2006-01-29 14:39:44Z mike $" + * "$Id: printers.c 5104 2006-02-15 03:21:04Z mike $" * * Printer status CGI for the Common UNIX Printing System (CUPS). * @@ -201,6 +201,9 @@ show_all_printers(http_t *http, /* I - Connection to server */ *urlend; /* End of URL */ + fprintf(stderr, "DEBUG: show_all_printers(http=%p, user=\"%s\")\n", + http, user); + /* * Show the standard header... */ @@ -351,6 +354,7 @@ show_all_printers(http_t *http, /* I - Connection to server */ * Delete the response... */ + cupsArrayDelete(printers); ippDelete(response); } else @@ -381,6 +385,9 @@ show_printer(http_t *http, /* I - Connection to server */ char refresh[1024]; /* Refresh URL */ + fprintf(stderr, "DEBUG: show_printer(http=%p, printer=\"%s\")\n", + http, printer); + /* * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the following * attributes: @@ -466,5 +473,5 @@ show_printer(http_t *http, /* I - Connection to server */ /* - * End of "$Id: printers.c 5023 2006-01-29 14:39:44Z mike $". + * End of "$Id: printers.c 5104 2006-02-15 03:21:04Z mike $". */ |