diff options
Diffstat (limited to 'source3/libsmb/libsmb_dir.c')
-rw-r--r-- | source3/libsmb/libsmb_dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/libsmb_dir.c b/source3/libsmb/libsmb_dir.c index 219bbe64e1..5afc8e48b6 100644 --- a/source3/libsmb/libsmb_dir.c +++ b/source3/libsmb/libsmb_dir.c @@ -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; |