s2245: Fix inverted test in the imageproc call

Printer now generates output!

(Completely trashed unusable pit of darkness, but hey, it's _something_!)
This commit is contained in:
Solomon Peachy 2020-08-04 20:58:14 -04:00
parent f19632c098
commit e11561f54e

View file

@ -1694,7 +1694,7 @@ top:
ERROR("Memory Allocation failure!\n");
return CUPS_BACKEND_RETRY;
}
if (ctx->ip_imageProc(newbuf, job->databuf, job->jp.columns, job->jp.rows, ctx->corrdata)) {
if (!ctx->ip_imageProc(newbuf, job->databuf, job->jp.columns, job->jp.rows, ctx->corrdata)) {
ERROR("ip_imageProc Failed!\n");
free(newbuf);
return CUPS_BACKEND_FAILED;