dnp: Fix a bad error test.

This commit is contained in:
Solomon Peachy 2019-12-19 21:59:59 -05:00
parent beed73bc9d
commit 11b59b7283
1 changed files with 1 additions and 0 deletions

View File

@ -897,6 +897,7 @@ static int dnpds40_attach(void *vctx, struct libusb_device_handle *dev, int type
#endif
#ifdef CITIZEN_ONLY /* Only allow CITIZEN printers to work. */
if (ctx->mfg != 1)
return CUPS_BACKEND_FAILED
#endif
}
} else {