diff options
author | root <root@rshg054.dnsready.net> | 2013-06-19 01:37:15 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-19 01:37:15 -0700 |
commit | 603bdf488872afbc69493bc640aedb7548f3ed51 (patch) | |
tree | 60945d453f0d8b5f8fb9ed8cb8d4e35c5d8d5dcf /extra/cups/get-ppd-file-for-statically-configured-ipp-shared-queues.patch | |
parent | 614d2fec699c594b1a3a25c973e0b5150302ff0e (diff) |
Wed Jun 19 01:36:52 PDT 2013
Diffstat (limited to 'extra/cups/get-ppd-file-for-statically-configured-ipp-shared-queues.patch')
-rw-r--r-- | extra/cups/get-ppd-file-for-statically-configured-ipp-shared-queues.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/cups/get-ppd-file-for-statically-configured-ipp-shared-queues.patch b/extra/cups/get-ppd-file-for-statically-configured-ipp-shared-queues.patch new file mode 100644 index 000000000..ed132d750 --- /dev/null +++ b/extra/cups/get-ppd-file-for-statically-configured-ipp-shared-queues.patch @@ -0,0 +1,31 @@ +Description: Applications could not get the PPD file for + statically-configured IPP-shared print queues +Author: Till Kamppeter <till.kamppeter@gmail.com> +Bug-Upstream: http://cups.org/str.php?L4178 +Last-Updated: 2012-09-19 + +--- a/cups/util.c ++++ b/cups/util.c +@@ -1731,6 +1731,22 @@ + + return (1); + } ++ else if (device_uri && ++ (!strncmp(device_uri, "ipp:", 4) != NULL || ++ !strncmp(device_uri, "ipps:", 5) != NULL)) ++ { ++ /* ++ * Statically-configured IPP shared printer. ++ */ ++ ++ httpSeparateURI(HTTP_URI_CODING_ALL, ++ device_uri, ++ scheme, sizeof(scheme), username, sizeof(username), ++ host, hostsize, port, resource, resourcesize); ++ ippDelete(response); ++ ++ return (1); ++ } + else if ((attr = ippFindAttribute(response, "member-uris", + IPP_TAG_URI)) != NULL) + { |