diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-05-23 16:35:20 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-06-14 20:52:20 +0200 |
commit | ebae5e055cfb5ad1286e1ad51732e93a7f3b0c78 (patch) | |
tree | 7f1086cc1320cfbd619ddb998705a8babe9a1e38 /source3/rpc_server | |
parent | 72bd6885ab18c920c6ed9e76946fd809e70e2abf (diff) | |
download | samba-ebae5e055cfb5ad1286e1ad51732e93a7f3b0c78.tar.gz |
printing: remove unused arguments from delete_and_reload_printers()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 4 | ||||
-rw-r--r-- | source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index f9a89194cc5..2bdce560c38 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -1694,7 +1694,7 @@ WERROR _spoolss_OpenPrinterEx(struct pipes_struct *p, * inventory on open as well. */ become_root(); - delete_and_reload_printers(server_event_context(), p->msg_ctx); + delete_and_reload_printers(); unbecome_root(); /* some sanity check because you can open a printer or a print server */ @@ -4403,7 +4403,7 @@ static WERROR enum_all_printers_info_level(TALLOC_CTX *mem_ctx, * printer process updates printer_list.tdb at regular intervals. */ become_root(); - delete_and_reload_printers(server_event_context(), msg_ctx); + delete_and_reload_printers(); unbecome_root(); n_services = lp_numservices(); diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index 2c33387bf6d..c25abf01ac9 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -563,7 +563,7 @@ static WERROR init_srv_share_info_ctr(struct pipes_struct *p, /* Ensure all the usershares are loaded. */ become_root(); - delete_and_reload_printers(server_event_context(), p->msg_ctx); + delete_and_reload_printers(); load_usershare_shares(NULL, connections_snum_used); load_registry_shares(); num_services = lp_numservices(); |