summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-03 21:36:47 -0800
committerJeremy Allison <jra@samba.org>2011-12-03 21:36:47 -0800
commitc8a1082f2b4912647d8a28362c7fb3302bdce5c2 (patch)
tree9a12ca0da72f66a7e59653e67e8e99421e6aa099 /source3/libsmb
parentb44cfdf163d5dc0d408a4d2d27854ebfa1e783e5 (diff)
downloadsamba-c8a1082f2b4912647d8a28362c7fb3302bdce5c2.tar.gz
samba-c8a1082f2b4912647d8a28362c7fb3302bdce5c2.tar.bz2
samba-c8a1082f2b4912647d8a28362c7fb3302bdce5c2.zip
Move the callers that need to use the new cli_open() back to calling
it from cli_openx().
Diffstat (limited to 'source3/libsmb')
-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 a89c95cdab..b5932c8164 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_openx(targetcli, targetpath, flags,
+ status = cli_open(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_openx(srv->cli, path, O_RDWR, DENY_NONE, &fd))) {
+ if (!NT_STATUS_IS_OK(cli_open(srv->cli, path, O_RDWR, DENY_NONE, &fd))) {
errno = SMBC_errno(context, srv->cli);
TALLOC_FREE(frame);
return -1;