summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-04-04 15:15:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:25 -0500
commitb46eb7aa17193d87624a4ea0107b6f98652f9e9e (patch)
tree6ce75dfa8c07dd79c59dbe7d8c77403451b24930 /source4/rpc_server
parent32e6cf5e3f70bc9d41588ae8ad0b1f90c7a02651 (diff)
downloadsamba-b46eb7aa17193d87624a4ea0107b6f98652f9e9e.tar.gz
samba-b46eb7aa17193d87624a4ea0107b6f98652f9e9e.tar.bz2
samba-b46eb7aa17193d87624a4ea0107b6f98652f9e9e.zip
r6193: we don't need to store the handle type here,
it's in handle->wire_handle.handle_type metze (This used to be commit 539286bc9fa1638dd564fb2f8ba924a0ede8db08)
Diffstat (limited to 'source4/rpc_server')
-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;
};