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:
parent
32e6cf5e3f
commit
b46eb7aa17
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user