mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
parent
1de04ec473
commit
9c93f89089
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user