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/jobs.c | |
parent | 4400e98de24bd267328aa20d57951fb6678297fe (diff) | |
download | cups-bd7854cb4d663bb0e561eaf5b01bbd47baa71d22.tar.gz |
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/jobs.c')
-rw-r--r-- | cgi-bin/jobs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cgi-bin/jobs.c b/cgi-bin/jobs.c index a73c34f90..ed379b001 100644 --- a/cgi-bin/jobs.c +++ b/cgi-bin/jobs.c @@ -1,5 +1,5 @@ /* - * "$Id: jobs.c 4931 2006-01-14 20:37:40Z mike $" + * "$Id: jobs.c 5104 2006-02-15 03:21:04Z mike $" * * Job status CGI for the Common UNIX Printing System (CUPS). * @@ -164,11 +164,11 @@ do_job_op(http_t *http, /* I - HTTP connection */ request = ippNewRequest(op); + snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); - snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id); - if ((user = getenv("REMOTE_USER")) == NULL) user = "guest"; @@ -199,5 +199,5 @@ do_job_op(http_t *http, /* I - HTTP connection */ /* - * End of "$Id: jobs.c 4931 2006-01-14 20:37:40Z mike $". + * End of "$Id: jobs.c 5104 2006-02-15 03:21:04Z mike $". */ |