s2145: Log when fast return is active.

This commit is contained in:
Solomon Peachy 2013-09-30 13:30:19 +01:00
parent 88444f5644
commit 294018b7ed

View file

@ -1578,8 +1578,10 @@ top:
case S_PRINTER_SENT_DATA:
if (sts->hdr.result != RESULT_SUCCESS)
goto printer_error;
if (ctx->fast_return)
if (ctx->fast_return) {
INFO("Fast return mode enabled.\n");
state = S_FINISHED;
}
else if (sts->hdr.status == STATUS_READY ||
sts->hdr.status == STATUS_FINISHED)
state = S_FINISHED;