summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-08-08 12:19:31 +0200
committerMichael Adam <obnox@samba.org>2012-08-09 15:29:44 +0200
commit2f7a371b92b05b080bdd530ad9fca437d50d13a6 (patch)
tree8f190df73826710e8e1fb62a0b47ba25394b9355
parent3668a4c94c59b3609790f18d0cb7d8a23ef9a6ab (diff)
downloadsamba-2f7a371b92b05b080bdd530ad9fca437d50d13a6.tar.gz
samba-2f7a371b92b05b080bdd530ad9fca437d50d13a6.tar.bz2
samba-2f7a371b92b05b080bdd530ad9fca437d50d13a6.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 14dfad152a..243a8a7f44 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4288,8 +4288,9 @@ static bool run_deletetest(int dummy)
printf("[10] open of %s succeeded should have been deleted on close !\n", fname);
goto fail;
correct = False;
- } else
- printf("tenth delete on close test succeeded.\n");
+ }
+
+ printf("tenth delete on close test succeeded.\n");
cli_setatr(cli1, fname, 0, 0);
cli_unlink(cli1, fname, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);