062a4bbcc2
fix several issues reported by openscanhub
17 lines
547 B
Diff
17 lines
547 B
Diff
diff --git a/daemon/cups-browsed.c b/daemon/cups-browsed.c
|
|
index 7f83510..9be61ca 100644
|
|
--- a/daemon/cups-browsed.c
|
|
+++ b/daemon/cups-browsed.c
|
|
@@ -7792,8 +7792,11 @@ create_remote_printer_entry (const char *queue_name,
|
|
p->prattrs = cfGetPrinterAttributes(p->uri, NULL, 0, NULL, 0, 1);
|
|
debug_log_out(cf_get_printer_attributes_log);
|
|
if (p->prattrs == NULL)
|
|
+ {
|
|
debug_printf("get-printer-attributes IPP call failed on printer %s (%s).\n",
|
|
p->queue_name, p->uri);
|
|
+ goto fail;
|
|
+ }
|
|
}
|
|
}
|
|
else
|