diff options
author | Günther Deschner <gd@samba.org> | 2009-02-11 15:26:00 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-11 22:42:01 +0100 |
commit | 2a311b1ea7ef2de6adb1567c9afc8127ed8e3978 (patch) | |
tree | 68d61862b1be87cbc59143b9b6700a3d82366dbc /source3/rpc_server | |
parent | e1a6717110947ba01baa9373f3e9b2d6ea375457 (diff) | |
download | samba-2a311b1ea7ef2de6adb1567c9afc8127ed8e3978.tar.gz samba-2a311b1ea7ef2de6adb1567c9afc8127ed8e3978.tar.bz2 samba-2a311b1ea7ef2de6adb1567c9afc8127ed8e3978.zip |
s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 204078d5c3..5c4ff61b17 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -5925,18 +5925,18 @@ static WERROR control_printer(POLICY_HND *handle, uint32 command, return WERR_BADFID; switch (command) { - case PRINTER_CONTROL_PAUSE: + case SPOOLSS_PRINTER_CONTROL_PAUSE: if (print_queue_pause(p->server_info, snum, &errcode)) { errcode = WERR_OK; } break; - case PRINTER_CONTROL_RESUME: - case PRINTER_CONTROL_UNPAUSE: + case SPOOLSS_PRINTER_CONTROL_RESUME: + case SPOOLSS_PRINTER_CONTROL_UNPAUSE: if (print_queue_resume(p->server_info, snum, &errcode)) { errcode = WERR_OK; } break; - case PRINTER_CONTROL_PURGE: + case SPOOLSS_PRINTER_CONTROL_PURGE: if (print_queue_purge(p->server_info, snum, &errcode)) { errcode = WERR_OK; } |