mirror of
https://github.com/samba-team/samba.git
synced 2025-12-04 08:23:50 +03:00
Make cli_mkdir async. Change it to return NTSTATUS.
Jeremy.
This commit is contained in:
@@ -1177,8 +1177,7 @@ SMBC_mkdir_ctx(SMBCCTX *context,
|
||||
}
|
||||
/*d_printf(">>>mkdir: resolved path as %s\n", targetpath);*/
|
||||
|
||||
if (!cli_mkdir(targetcli, targetpath)) {
|
||||
|
||||
if (!NT_STATUS_IS_OK(cli_mkdir(targetcli, targetpath))) {
|
||||
errno = SMBC_errno(context, targetcli);
|
||||
TALLOC_FREE(frame);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user