summaryrefslogtreecommitdiff
path: root/scheduler
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-06-16 17:39:13 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2017-06-16 17:39:13 -0400
commitd2f1a784c46310f86c34434e9bf447f060bf0ec2 (patch)
treec9e740a07f702e578b39ab546297fe70f10ac2bd /scheduler
parent62825d3445a090e1f73619c65732a7cdc8e7cb80 (diff)
Fix "make check" failure (Issue #5033)
Diffstat (limited to 'scheduler')
-rw-r--r--scheduler/printers.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/scheduler/printers.c b/scheduler/printers.c
index 1c81c5504..dca09626a 100644
--- a/scheduler/printers.c
+++ b/scheduler/printers.c
@@ -5000,31 +5000,6 @@ load_ppd(cupsd_printer_t *p) /* I - Printer */
p->type |= CUPS_PRINTER_REMOTE;
/*
- * Point the printer-uri-supported attribute to the
- * remote printer...
- */
-
- if (strchr(p->device_uri, '?'))
- {
- /*
- * Strip trailing "?options" from URI...
- */
-
- char resource[HTTP_MAX_URI], /* New URI */
- *ptr; /* Pointer into URI */
-
- strlcpy(resource, p->device_uri, sizeof(resource));
- if ((ptr = strchr(resource, '?')) != NULL)
- *ptr = '\0';
-
- ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_URI,
- "printer-uri-supported", NULL, resource);
- }
- else
- ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_URI,
- "printer-uri-supported", NULL, p->device_uri);
-
- /*
* Then set the make-and-model accordingly...
*/