PURGE_PRINTER fix from APP_HEAD
authorGerald Carter <jerry@samba.org>
Fri, 25 Oct 2002 22:17:29 +0000 (22:17 +0000)
committerGerald Carter <jerry@samba.org>
Fri, 25 Oct 2002 22:17:29 +0000 (22:17 +0000)
source/rpc_server/srv_spoolss_nt.c

index 3e6d5d6594686d42e2efd022ae2c27ca1ec9ebba..a5e464f73bd3247813cdbbbb6340a438486ae399 100644 (file)
@@ -5441,13 +5441,11 @@ static WERROR control_printer(POLICY_HND *handle, uint32 command,
                        errcode = WERR_OK;
                }
                break;
-#if 0  /* JERRY - Never called */
        case PRINTER_CONTROL_PURGE:
                if (print_queue_purge(&user, snum, &errcode)) {
                        errcode = WERR_OK;
                }
                break;
-#endif
        default:
                return WERR_UNKNOWN_LEVEL;
        }