diff options
author | Michael Adam <obnox@samba.org> | 2012-08-08 12:20:24 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-08-09 15:29:50 +0200 |
commit | 49a2c68011d9ce37a9d7cf8289a5e41771aaa646 (patch) | |
tree | 49e91f9502e21567b6c3bb10cfa787ee7f51e113 /source3/torture | |
parent | 54e5810638c2d0e8764a333fb0f853a7ee942a55 (diff) | |
download | samba-49a2c68011d9ce37a9d7cf8289a5e41771aaa646.tar.gz samba-49a2c68011d9ce37a9d7cf8289a5e41771aaa646.tar.bz2 samba-49a2c68011d9ce37a9d7cf8289a5e41771aaa646.zip |
s3:torture:delete: reduce indentation
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index dcaa905ed7..f6331a01f8 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -4333,16 +4333,14 @@ static bool run_deletetest(int dummy) cli_close(cli1, fnum1); goto fail; correct = False; - } else { - if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) { - printf("[11] open of %s should have been denied with ACCESS_DENIED! Got error %s\n", fname, nt_errstr(status)); - goto fail; - correct = False; - } else { - printf("eleventh delete on close test succeeded.\n"); - } + } else if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) { + printf("[11] open of %s should have been denied with ACCESS_DENIED! Got error %s\n", fname, nt_errstr(status)); + goto fail; + correct = False; } + printf("eleventh delete on close test succeeded.\n"); + printf("finished delete test\n"); fail: |