Fixed error return when printer is PAUSED - should be returning "Pause".
authorJeremy Allison <jra@samba.org>
Tue, 12 Sep 2000 21:45:42 +0000 (21:45 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 12 Sep 2000 21:45:42 +0000 (21:45 +0000)
Jeremy.
(This used to be commit 41d03a118c9981fc2159f37cd5ed4684e1d36037)

source3/rpc_server/srv_spoolss_nt.c

index 7f7a75fc5cb2fc9e2a67e36f1ff9ad582a3ac6fc..0464d252f017e5c244c3e4157babd0e0e7a0e0e8 100644 (file)
@@ -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: