cp30dw: A couple more minor tweaks.
This commit is contained in:
parent
affda734ea
commit
997a2681c1
|
@ -260,11 +260,11 @@ static const char *cp30_errors(uint16_t err)
|
|||
} \
|
||||
|
||||
#define QUERY_STATUS_II \
|
||||
if (1 && ctx->conn->type != P_MITSU_CP30D) { \
|
||||
if (ctx->conn->type != P_MITSU_CP30D) { \
|
||||
/* struct mitsu9550_status2 *sts2 = (struct mitsu9550_status2*) rdbuf; */ \
|
||||
ret = mitsu9550_get_status(ctx, rdbuf, CP9XXX_STS_x21); \
|
||||
if (ret < 0) \
|
||||
return CUPS_BACKEND_FAILED; \
|
||||
if (ret < 0) \
|
||||
return CUPS_BACKEND_FAILED; \
|
||||
/* XXX validate status2 ? */ \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue