diff options
author | Jeremy Allison <jra@samba.org> | 2011-12-03 21:13:08 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-12-03 21:13:08 -0800 |
commit | 4e709dc42fff464191f21dfa150a18a072d48569 (patch) | |
tree | 83a3005e5fb537c9c88faff8fe4f5c93cb219768 /source3/client | |
parent | c326b37358260ba4f3a95463acdbf02ddae0ab97 (diff) | |
download | samba-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/client')
-rw-r--r-- | source3/client/client.c | 2 | ||||
-rw-r--r-- | source3/client/smbspool.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index b355917013..074fbc93bc 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -412,7 +412,7 @@ NTSTATUS smbclient_cli_open(struct cli_state *cli, const char *fname, int flags, try_openx: - return cli_open(cli, fname, flags, share_mode_in, pfnum); + return cli_openx(cli, fname, flags, share_mode_in, pfnum); } /**************************************************************************** diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index ddae1a6785..71bdab1719 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -576,7 +576,7 @@ smb_print(struct cli_state * cli, /* I - SMB connection */ * Open the printer device... */ - nt_status = cli_open(cli, title, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE, + nt_status = cli_openx(cli, title, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE, &fnum); if (!NT_STATUS_IS_OK(nt_status)) { fprintf(stderr, "ERROR: %s opening remote spool %s\n", |