summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_file.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-03 21:13:08 -0800
committerJeremy Allison <jra@samba.org>2011-12-03 21:13:08 -0800
commit4e709dc42fff464191f21dfa150a18a072d48569 (patch)
tree83a3005e5fb537c9c88faff8fe4f5c93cb219768 /source3/libsmb/libsmb_file.c
parentc326b37358260ba4f3a95463acdbf02ddae0ab97 (diff)
downloadsamba-4e709dc42fff464191f21dfa150a18a072d48569.tar.gz
Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()
with a call that uses NTCreateX in preference to OpenAndX.
Diffstat (limited to 'source3/libsmb/libsmb_file.c')
-rw-r--r--source3/libsmb/libsmb_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c
index b5932c8164a..a89c95cdab9 100644
--- a/source3/libsmb/libsmb_file.c
+++ b/source3/libsmb/libsmb_file.c
@@ -123,7 +123,7 @@ SMBC_open_ctx(SMBCCTX *context,
}
/*d_printf(">>>open: resolved %s as %s\n", path, targetpath);*/
- status = cli_open(targetcli, targetpath, flags,
+ status = cli_openx(targetcli, targetpath, flags,
context->internal->share_mode, &fd);
if (!NT_STATUS_IS_OK(status)) {
@@ -633,7 +633,7 @@ SMBC_setatr(SMBCCTX * context, SMBCSRV *srv, char *path,
srv->no_pathinfo = True;
/* Open the file */
- if (!NT_STATUS_IS_OK(cli_open(srv->cli, path, O_RDWR, DENY_NONE, &fd))) {
+ if (!NT_STATUS_IS_OK(cli_openx(srv->cli, path, O_RDWR, DENY_NONE, &fd))) {
errno = SMBC_errno(context, srv->cli);
TALLOC_FREE(frame);
return -1;