1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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 539286bc9f)
This commit is contained in:
Stefan Metzmacher 2005-04-04 15:15:18 +00:00 committed by Gerald (Jerry) Carter
parent 32e6cf5e3f
commit b46eb7aa17
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;
};