1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

s3:torture:delete: untangle function call from result check

This commit is contained in:
Michael Adam 2012-08-08 11:58:24 +02:00
parent 02b092533a
commit 8a92ae23fe

View File

@ -4150,7 +4150,8 @@ static bool run_deletetest(int dummy)
goto fail;
}
if (!NT_STATUS_IS_OK(cli_nt_delete_on_close(cli1, fnum1, false))) {
status = cli_nt_delete_on_close(cli1, fnum1, false);
if (!NT_STATUS_IS_OK(status)) {
printf("[7] unsetting delete_on_close on file failed !\n");
correct = False;
goto fail;