summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-08-08 12:17:29 +0200
committerMichael Adam <obnox@samba.org>2012-08-09 15:29:42 +0200
commit3668a4c94c59b3609790f18d0cb7d8a23ef9a6ab (patch)
treea98a106fe99d0bb206d9fc21340aed3c3f741af3
parent777c7a965b5824b8d038a3babb3754a1dfcd8fc2 (diff)
downloadsamba-3668a4c94c59b3609790f18d0cb7d8a23ef9a6ab.tar.gz
samba-3668a4c94c59b3609790f18d0cb7d8a23ef9a6ab.tar.bz2
samba-3668a4c94c59b3609790f18d0cb7d8a23ef9a6ab.zip
s3:torture:delete: remove an else, reducing indentation
-rw-r--r--source3/torture/torture.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index e364b17f7c..14dfad152a 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4245,8 +4245,9 @@ static bool run_deletetest(int dummy)
printf("[8] open of %s succeeded should have been deleted on close !\n", fname);
goto fail;
correct = False;
- } else
- printf("eighth delete on close test succeeded.\n");
+ }
+
+ printf("eighth delete on close test succeeded.\n");
/* This should fail - we need to set DELETE_ACCESS. */
status = cli_ntcreate(cli1, fname, 0, FILE_READ_DATA|FILE_WRITE_DATA,