summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-08-08 12:07:29 +0200
committerMichael Adam <obnox@samba.org>2012-08-09 15:27:15 +0200
commitccb25831e21fef606683abc5d62581272ac8ffa4 (patch)
treecf97c35e66c604aab19cfed95e39227733673a1d
parent8a92ae23fe64639c7a19faaacf585f266622c863 (diff)
downloadsamba-ccb25831e21fef606683abc5d62581272ac8ffa4.tar.gz
samba-ccb25831e21fef606683abc5d62581272ac8ffa4.tar.bz2
samba-ccb25831e21fef606683abc5d62581272ac8ffa4.zip
s3:torture:delete: untanlge function call from result check
-rw-r--r--source3/torture/torture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 69287459c6..1ba915a853 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4215,7 +4215,8 @@ static bool run_deletetest(int dummy)
goto fail;
}
- if (!NT_STATUS_IS_OK(cli_nt_delete_on_close(cli1, fnum1, true))) {
+ status = cli_nt_delete_on_close(cli1, fnum1, true);
+ if (!NT_STATUS_IS_OK(status)) {
printf("[8] setting delete_on_close on file failed !\n");
correct = False;
goto fail;