diff options
author | Christof Schmitt <cs@samba.org> | 2018-08-21 11:09:16 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-09-07 17:26:17 +0200 |
commit | cc76aaeb6234698bca5d6520bb14a9306c9131cd (patch) | |
tree | 114c34bce81744946c480bc78b8321cd51fd8612 /source3/printing | |
parent | ae7db3e543d412864fafb0d0303c2219ce344526 (diff) | |
download | samba-cc76aaeb6234698bca5d6520bb14a9306c9131cd.tar.gz |
s3: Rename server_messaging_context() to global_messaging_context()
This reflects that the messaging context is also used outside of the
server processes.
The command used for the rename:
find . -name '*.[hc]' -print0 | xargs -0 sed -i 's/server_messaging_context/global_messaging_context/'
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 6 | ||||
-rw-r--r-- | source3/printing/spoolssd.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 9c4c488040f..fdd91454acd 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1050,7 +1050,7 @@ static uint32_t get_correct_cversion(const struct auth_session_info *session_inf driver_directory); } - nt_status = create_conn_struct_tos_cwd(server_messaging_context(), + nt_status = create_conn_struct_tos_cwd(global_messaging_context(), printdollar_snum, working_dir, session_info, @@ -1525,7 +1525,7 @@ WERROR move_driver_to_download_area(const struct auth_session_info *session_info return WERR_BAD_NET_NAME; } - nt_status = create_conn_struct_tos_cwd(server_messaging_context(), + nt_status = create_conn_struct_tos_cwd(global_messaging_context(), printdollar_snum, lp_path(frame, printdollar_snum), session_info, @@ -2067,7 +2067,7 @@ bool delete_driver_files(const struct auth_session_info *session_info, return false; } - nt_status = create_conn_struct_tos_cwd(server_messaging_context(), + nt_status = create_conn_struct_tos_cwd(global_messaging_context(), printdollar_snum, lp_path(frame, printdollar_snum), session_info, diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c index ca1eda91879..c029f1a11d5 100644 --- a/source3/printing/spoolssd.c +++ b/source3/printing/spoolssd.c @@ -258,7 +258,7 @@ static bool spoolss_child_init(struct tevent_context *ev_ctx, { NTSTATUS status; struct rpc_srv_callbacks spoolss_cb; - struct messaging_context *msg_ctx = server_messaging_context(); + struct messaging_context *msg_ctx = global_messaging_context(); bool ok; status = reinit_after_fork(msg_ctx, ev_ctx, true, "spoolssd-child"); |