sonyupdneo: Properly log unknown printer status attributes
This commit is contained in:
parent
e32c652d64
commit
b91eead1f0
|
@ -493,7 +493,7 @@ static int updneo_get_status(struct updneo_ctx *ctx)
|
||||||
!strcmp("CLS", dict[i].key)) {
|
!strcmp("CLS", dict[i].key)) {
|
||||||
/* Ignore standard IEEE1284 attributes! */
|
/* Ignore standard IEEE1284 attributes! */
|
||||||
} else {
|
} else {
|
||||||
if (!strncmp("SC", dict[i].key, 2) && !strncmp("SP", dict[i].key, 2))
|
if (!strncmp("SC", dict[i].key, 2) || !strncmp("SP", dict[i].key, 2))
|
||||||
DEBUG("Extra/Unknown IEEE1284 field '%s' = '%s'\n",
|
DEBUG("Extra/Unknown IEEE1284 field '%s' = '%s'\n",
|
||||||
dict[i].key, dict[i].val);
|
dict[i].key, dict[i].val);
|
||||||
}
|
}
|
||||||
|
@ -699,7 +699,7 @@ static const char *sonyupdneo_prefixes[] = {
|
||||||
|
|
||||||
const struct dyesub_backend sonyupdneo_backend = {
|
const struct dyesub_backend sonyupdneo_backend = {
|
||||||
.name = "Sony UP-D Neo",
|
.name = "Sony UP-D Neo",
|
||||||
.version = "0.16",
|
.version = "0.17",
|
||||||
.flags = BACKEND_FLAG_BADISERIAL, /* UP-D898MD at least */
|
.flags = BACKEND_FLAG_BADISERIAL, /* UP-D898MD at least */
|
||||||
.uri_prefixes = sonyupdneo_prefixes,
|
.uri_prefixes = sonyupdneo_prefixes,
|
||||||
.cmdline_arg = updneo_cmdline_arg,
|
.cmdline_arg = updneo_cmdline_arg,
|
||||||
|
|
Loading…
Reference in New Issue