summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-09-12 21:45:42 +0000
committerJeremy Allison <jra@samba.org>2000-09-12 21:45:42 +0000
commit043860d8b71925b0973d81daf7cf7e39354bdc28 (patch)
treed1dd7b9d8e3d3391c214b6aca421d739cc1bddcd
parent7ec53a14b149bcf90cf38548a0d9044286b3e3bb (diff)
downloadsamba-043860d8b71925b0973d81daf7cf7e39354bdc28.tar.gz
samba-043860d8b71925b0973d81daf7cf7e39354bdc28.tar.bz2
samba-043860d8b71925b0973d81daf7cf7e39354bdc28.zip
Fixed error return when printer is PAUSED - should be returning "Pause".
Jeremy. (This used to be commit 41d03a118c9981fc2159f37cd5ed4684e1d36037)
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 7f7a75fc5c..0464d252f0 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -100,7 +100,7 @@ static int nt_printq_status(int v)
{
switch (v) {
case LPQ_PAUSED:
- return PRINTER_STATUS_ERROR;
+ return PRINTER_STATUS_PAUSED;
case LPQ_QUEUED:
case LPQ_SPOOLING:
case LPQ_PRINTING: