summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.c3
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c
index 7a217dee1d..ab70035f28 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.c
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c
@@ -947,8 +947,7 @@ static WERROR spoolss_OpenPrinterEx_server(struct dcesrv_call_state *dce_call,
handle->data = state;
- state->handle_type = SPOOLSS_HANDLE_SERVER;
- state->access_mask = r->in.access_mask;
+ state->access_mask = r->in.access_mask;
*r->out.handle = handle->wire_handle;
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.h b/source4/rpc_server/spoolss/dcesrv_spoolss.h
index 3375ff3d9c..a72159a729 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.h
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.h
@@ -32,6 +32,5 @@ enum spoolss_handle_type {
state asscoiated with a spoolss_OpenPrinter{,Ex}() operation
*/
struct spoolss_handle_server {
- enum spoolss_handle_type handle_type;
uint32_t access_mask;
};