1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-12 21:58:10 +03:00

Fix for LPRng from James Henstridge james@daa.com.au.

Jeremy.
This commit is contained in:
Jeremy Allison -
parent 1de04ec473
commit 9c93f89089

View File

@ -255,6 +255,8 @@ static BOOL parse_lpq_lprng(char *line,print_queue_struct *buf,BOOL first)
if (strequal(tokarr[LPRNG_RANKTOK],"active")) {
buf->status = LPQ_PRINTING;
} else if (strequal(tokarr[LPRNG_RANKTOK],"done")) {
buf->status = LPQ_PRINTED;
} else if (isdigit((int)*tokarr[LPRNG_RANKTOK])) {
buf->status = LPQ_QUEUED;
} else {