diff options
author | Michael Sweet <michael.r.sweet@gmail.com> | 2017-07-19 08:15:08 -0400 |
---|---|---|
committer | Michael Sweet <michael.r.sweet@gmail.com> | 2017-07-19 08:15:08 -0400 |
commit | c536b6c583abd9ea1b750f15e887b313ed7ad951 (patch) | |
tree | 0f089f8abd469ada968efc73091483b4c5883382 /cups/dest.c | |
parent | 03d3907a330ad5d12e218239e147b1dfb6ea7030 (diff) | |
download | cups-c536b6c583abd9ea1b750f15e887b313ed7ad951.tar.gz |
The `cupsGetNamedDest` function did not use the local default printer
(rdar://33228500)
Diffstat (limited to 'cups/dest.c')
-rw-r--r-- | cups/dest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/dest.c b/cups/dest.c index 09bb76b73..2bc4685c9 100644 --- a/cups/dest.c +++ b/cups/dest.c @@ -2261,7 +2261,7 @@ cupsGetNamedDest(http_t *http, /* I - Connection to server or @code CUPS_HTT dest_name = cups_get_default(filename, defname, sizeof(defname), &instance); } - if (!name) + if (!dest_name) { /* * Still not there? Try the system lpoptions file... |