From 4e709dc42fff464191f21dfa150a18a072d48569 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 3 Dec 2011 21:13:08 -0800 Subject: Rename cli_open -> cli_openx. Prelude to replacing generic cli_open() with a call that uses NTCreateX in preference to OpenAndX. --- source3/client/client.c | 2 +- source3/client/smbspool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/client') 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", -- cgit