summaryrefslogtreecommitdiff
path: root/cups/dest.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-01-31 22:36:51 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-01-31 22:36:51 -0500
commit22974c5f323508b5dced97f4c54410172d1e3bdf (patch)
treed7b68fe5a3a063851d24322c6e99ebfed13970ac /cups/dest.c
parent092db1e29ee1ad175dadcf4a027c4b752586b4d4 (diff)
downloadcups-22974c5f323508b5dced97f4c54410172d1e3bdf.tar.gz
The `cupsCopyDestInfo` function did not work with all print queues (Issue #5235)
cups/dest.c: - Fix debug logging in _cupsGetDestResource. cups/dest-options.c: - Update CUPS server check in cupsCopyDestInfo.
Diffstat (limited to 'cups/dest.c')
-rw-r--r--cups/dest.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/cups/dest.c b/cups/dest.c
index 090970c79..bd5951756 100644
--- a/cups/dest.c
+++ b/cups/dest.c
@@ -1,10 +1,11 @@
/*
* User-defined destination (and option) support for CUPS.
*
- * Copyright 2007-2018 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
+ * Copyright © 2007-2018 by Apple Inc.
+ * Copyright © 1997-2007 by Easy Software Products.
*
- * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
+ * Licensed under Apache License v2.0. See the file "LICENSE" for more
+ * information.
*/
/*
@@ -1110,7 +1111,7 @@ _cupsGetDestResource(
int port; /* Port number */
- DEBUG_printf(("_cupsGetDestResource(dest=%p(%s), resource=%p, resourcesize=%d)", (void *)dest, dest->name, (void *)resource, (int)resourcesize));
+ DEBUG_printf(("_cupsGetDestResource(dest=%p(%s), flags=%u, resource=%p, resourcesize=%d)", (void *)dest, dest->name, flags, (void *)resource, (int)resourcesize));
/*
* Range check input...