mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
smbd: Fix calls to create_conn_struct_cwd to be correctly indented.
These are whitespace changes only, left out of the previous commit to preserve clarity. Andrew Bartlett. Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
6c80cf747d
commit
5a3e915d20
@ -617,12 +617,12 @@ static uint32 get_correct_cversion(struct auth_session_info *session_info,
|
||||
}
|
||||
|
||||
nt_status = create_conn_struct_cwd(talloc_tos(),
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
printdollar_snum,
|
||||
lp_pathname(talloc_tos(), printdollar_snum),
|
||||
session_info, &oldcwd);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
printdollar_snum,
|
||||
lp_pathname(talloc_tos(), printdollar_snum),
|
||||
session_info, &oldcwd);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(0,("get_correct_cversion: create_conn_struct "
|
||||
"returned %s\n", nt_errstr(nt_status)));
|
||||
@ -1004,12 +1004,12 @@ WERROR move_driver_to_download_area(struct auth_session_info *session_info,
|
||||
}
|
||||
|
||||
nt_status = create_conn_struct_cwd(talloc_tos(),
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
printdollar_snum,
|
||||
lp_pathname(talloc_tos(), printdollar_snum),
|
||||
session_info, &oldcwd);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
printdollar_snum,
|
||||
lp_pathname(talloc_tos(), printdollar_snum),
|
||||
session_info, &oldcwd);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(0,("move_driver_to_download_area: create_conn_struct "
|
||||
"returned %s\n", nt_errstr(nt_status)));
|
||||
@ -1540,12 +1540,12 @@ bool delete_driver_files(const struct auth_session_info *session_info,
|
||||
}
|
||||
|
||||
nt_status = create_conn_struct_cwd(talloc_tos(),
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
printdollar_snum,
|
||||
lp_pathname(talloc_tos(), printdollar_snum),
|
||||
session_info, &oldcwd);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
printdollar_snum,
|
||||
lp_pathname(talloc_tos(), printdollar_snum),
|
||||
session_info, &oldcwd);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(0,("delete_driver_files: create_conn_struct "
|
||||
"returned %s\n", nt_errstr(nt_status)));
|
||||
|
@ -2038,11 +2038,11 @@ WERROR _srvsvc_NetGetFileSecurity(struct pipes_struct *p,
|
||||
}
|
||||
|
||||
nt_status = create_conn_struct_cwd(talloc_tos(),
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
snum, lp_pathname(talloc_tos(), snum),
|
||||
p->session_info, &oldcwd);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
snum, lp_pathname(talloc_tos(), snum),
|
||||
p->session_info, &oldcwd);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(10, ("create_conn_struct failed: %s\n",
|
||||
nt_errstr(nt_status)));
|
||||
@ -2185,11 +2185,11 @@ WERROR _srvsvc_NetSetFileSecurity(struct pipes_struct *p,
|
||||
}
|
||||
|
||||
nt_status = create_conn_struct_cwd(talloc_tos(),
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
snum, lp_pathname(talloc_tos(), snum),
|
||||
p->session_info, &oldcwd);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
snum, lp_pathname(talloc_tos(), snum),
|
||||
p->session_info, &oldcwd);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(10, ("create_conn_struct failed: %s\n",
|
||||
nt_errstr(nt_status)));
|
||||
|
@ -1012,10 +1012,10 @@ NTSTATUS get_referred_path(TALLOC_CTX *ctx,
|
||||
}
|
||||
|
||||
status = create_conn_struct_cwd(ctx,
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn, snum,
|
||||
lp_pathname(talloc_tos(), snum), NULL, &oldpath);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn, snum,
|
||||
lp_pathname(talloc_tos(), snum), NULL, &oldpath);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
TALLOC_FREE(pdp);
|
||||
return status;
|
||||
@ -1191,10 +1191,10 @@ static bool junction_to_local_path(const struct junction_map *jucn,
|
||||
return False;
|
||||
}
|
||||
status = create_conn_struct_cwd(talloc_tos(),
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
conn_out,
|
||||
snum, lp_pathname(talloc_tos(), snum), NULL, oldpath);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
conn_out,
|
||||
snum, lp_pathname(talloc_tos(), snum), NULL, oldpath);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return False;
|
||||
}
|
||||
@ -1356,10 +1356,10 @@ static int count_dfs_links(TALLOC_CTX *ctx, int snum)
|
||||
*/
|
||||
|
||||
status = create_conn_struct_cwd(talloc_tos(),
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
snum, connect_path, NULL, &cwd);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn,
|
||||
snum, connect_path, NULL, &cwd);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(3, ("create_conn_struct failed: %s\n",
|
||||
nt_errstr(status)));
|
||||
@ -1432,10 +1432,10 @@ static int form_junctions(TALLOC_CTX *ctx,
|
||||
*/
|
||||
|
||||
status = create_conn_struct_cwd(ctx,
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn, snum, connect_path, NULL,
|
||||
&cwd);
|
||||
server_event_context(),
|
||||
server_messaging_context(),
|
||||
&conn, snum, connect_path, NULL,
|
||||
&cwd);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(3, ("create_conn_struct failed: %s\n",
|
||||
nt_errstr(status)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user