summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-07-08 18:24:59 +0000
committerJeremy Allison <jra@samba.org>2002-07-08 18:24:59 +0000
commit429400e449e6561ee9a443a728619c43e26ef874 (patch)
tree60abfce6e3259606a205a2d5b959aef7bacdbe10 /source3
parent21b9280cf516045f3ffb7d5249087a127855a38d (diff)
downloadsamba-429400e449e6561ee9a443a728619c43e26ef874.tar.gz
samba-429400e449e6561ee9a443a728619c43e26ef874.tar.bz2
samba-429400e449e6561ee9a443a728619c43e26ef874.zip
Fix for LPRng from James Henstridge james@daa.com.au.
Jeremy. (This used to be commit 9c93f8908919a02099884d393312ef27d4a2d24e)
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/lpq_parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/lpq_parse.c b/source3/printing/lpq_parse.c
index 5deb85425e..1307cdb3f8 100644
--- a/source3/printing/lpq_parse.c
+++ b/source3/printing/lpq_parse.c
@@ -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 {