summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
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/utils')
-rw-r--r--source3/utils/net_rpc_printer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 65a2edc8aa..eec5a6cacc 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -327,7 +327,7 @@ NTSTATUS net_copy_file(struct net_context *c,
DEBUGADD(3,("opening %s %s on originating server\n",
is_file ? "file":"dir", src_name));
if (is_file)
- nt_status = cli_openx(cli_share_src, src_name, O_RDONLY, DENY_NONE, &fnum_src);
+ nt_status = cli_open(cli_share_src, src_name, O_RDONLY, DENY_NONE, &fnum_src);
else
nt_status = cli_ntcreate(cli_share_src, src_name, 0, READ_CONTROL_ACCESS, 0,
FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN, 0x0, 0x0, &fnum_src);
@@ -344,7 +344,7 @@ NTSTATUS net_copy_file(struct net_context *c,
/* open file on the destination server */
DEBUGADD(3,("opening file %s on destination server\n", dst_name));
- nt_status = cli_openx(cli_share_dst, dst_name,
+ nt_status = cli_open(cli_share_dst, dst_name,
O_RDWR|O_CREAT|O_TRUNC, DENY_NONE, &fnum_dst);
if (!NT_STATUS_IS_OK(nt_status)) {