diff options
author | Jeremy Allison <jra@samba.org> | 2011-12-03 21:36:47 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-12-03 21:36:47 -0800 |
commit | c8a1082f2b4912647d8a28362c7fb3302bdce5c2 (patch) | |
tree | 9a12ca0da72f66a7e59653e67e8e99421e6aa099 /source3/client/clitar.c | |
parent | b44cfdf163d5dc0d408a4d2d27854ebfa1e783e5 (diff) | |
download | samba-c8a1082f2b4912647d8a28362c7fb3302bdce5c2.tar.gz samba-c8a1082f2b4912647d8a28362c7fb3302bdce5c2.tar.xz 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/client/clitar.c')
-rw-r--r-- | source3/client/clitar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index d8890eae3b..594392672a 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -655,7 +655,7 @@ static NTSTATUS do_atar(const char *rname_in, char *lname, goto cleanup; } - status = smbclient_cli_open(cli, rname, O_RDONLY, DENY_NONE, &fnum); + status = cli_open(cli, rname, O_RDONLY, DENY_NONE, &fnum); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("%s opening remote file %s (%s)\n", nt_errstr(status),rname, client_get_cur_dir())); @@ -1016,7 +1016,7 @@ static int get_file(file_info2 finfo) return False; } - status = smbclient_cli_open(cli, finfo.name, O_RDWR|O_CREAT|O_TRUNC, DENY_NONE, &fnum); + status = cli_open(cli, finfo.name, O_RDWR|O_CREAT|O_TRUNC, DENY_NONE, &fnum); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("abandoning restore\n")); return False; |