cp30dw: A couple more minor tweaks.

This commit is contained in:
Solomon Peachy 2020-12-05 19:15:46 -05:00
parent affda734ea
commit 997a2681c1
1 changed files with 3 additions and 3 deletions

View File

@ -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 ? */ \
}