diff options
author | Tim Prouty <tprouty@samba.org> | 2009-07-01 16:15:52 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-07-06 15:38:41 -0700 |
commit | 0f6e10886f3f778fe301ee981873f29d295d39c5 (patch) | |
tree | f8c2b4d88d7f20793f2c8444d6ea3fbf102534f3 /source3/rpc_server | |
parent | de3246eae2b1234cc7fcb7d4dd6c6863ab9d31b3 (diff) | |
download | samba-0f6e10886f3f778fe301ee981873f29d295d39c5.tar.gz samba-0f6e10886f3f778fe301ee981873f29d295d39c5.tar.bz2 samba-0f6e10886f3f778fe301ee981873f29d295d39c5.zip |
s3: Change some filename_convert to pass in NULL for char **fname argument
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index 070f7fd0ca..44acf4d647 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -2042,7 +2042,6 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p, connection_struct *conn = NULL; struct sec_desc_buf *sd_buf = NULL; files_struct *fsp = NULL; - char *fname = NULL; int snum; char *oldcwd = NULL; @@ -2072,7 +2071,7 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p, false, r->in.file, &smb_fname, - &fname); + NULL); if (!NT_STATUS_IS_OK(nt_status)) { werr = ntstatus_to_werror(nt_status); goto error_exit; @@ -2174,7 +2173,6 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p, char *oldcwd = NULL; struct security_descriptor *psd = NULL; uint32_t security_info_sent = 0; - char *fname = NULL; ZERO_STRUCT(st); @@ -2202,7 +2200,7 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p, false, r->in.file, &smb_fname, - &fname); + NULL); if (!NT_STATUS_IS_OK(nt_status)) { werr = ntstatus_to_werror(nt_status); goto error_exit; |