diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-01-08 09:29:48 +1100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-01-07 16:18:14 -0800 |
commit | 5a3e915d20bb11984c42081bf25ce09baa58e04e (patch) | |
tree | b160a05622918bf3e72acf0cb45a5e07f8264304 /source3 | |
parent | 6c80cf747d75e648a1d88d477bcf476e6874c4b3 (diff) | |
download | samba-5a3e915d20bb11984c42081bf25ce09baa58e04e.tar.gz samba-5a3e915d20bb11984c42081bf25ce09baa58e04e.tar.bz2 samba-5a3e915d20bb11984c42081bf25ce09baa58e04e.zip |
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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/nt_printing.c | 36 | ||||
-rw-r--r-- | source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 20 | ||||
-rw-r--r-- | source3/smbd/msdfs.c | 32 |
3 files changed, 44 insertions, 44 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index f27003c338..e09ee8968f 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -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))); diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index e14b7973a1..2d58466850 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -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))); diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 83f140c25b..e8a0610d74 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -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))); |