backend: Fix crash bug.
This commit is contained in:
parent
9f19970ba7
commit
4b9e689548
|
@ -469,7 +469,7 @@ int main (int argc, char **argv)
|
|||
|
||||
/* Parse printjob if necessary */
|
||||
if (!query_only && backend->early_parse) {
|
||||
printer_type = backend->early_parse(ctx, data_fd);
|
||||
printer_type = backend->early_parse(backend_ctx, data_fd);
|
||||
if (printer_type < 0) {
|
||||
ret = 4;
|
||||
goto done;
|
||||
|
|
Loading…
Reference in a new issue