Move the callers that need to use the new cli_open() back to calling
[mat/samba.git] / source3 / libsmb / libsmb_file.c
index a89c95cdab95f84202f12e3f952a9ef009d1a771..b5932c8164a9db13ad31823e17796e936dcbd787 100644 (file)
@@ -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;