summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-08-08 12:15:16 +0200
committerMichael Adam <obnox@samba.org>2012-08-09 15:29:40 +0200
commitc36deaf3af02531ff40d6960b8deaa0141bc2524 (patch)
tree38c6efb203b14d7a261ff9fb76f5f641dd310291 /source3/torture
parente8331416229fc08e5c73cdd27e192b8b3f68bbfe (diff)
downloadsamba-c36deaf3af02531ff40d6960b8deaa0141bc2524.tar.gz
samba-c36deaf3af02531ff40d6960b8deaa0141bc2524.tar.bz2
samba-c36deaf3af02531ff40d6960b8deaa0141bc2524.zip
s3:torture:delete: remove an else, reducing indentation
Diffstat (limited to 'source3/torture')
-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 31318c622f..d208925320 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -3932,8 +3932,9 @@ static bool run_deletetest(int dummy)
cli_unlink(cli1, fname, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);
correct = False;
goto fail;
- } else
- printf("second delete on close test succeeded.\n");
+ }
+
+ printf("second delete on close test succeeded.\n");
/* Test 3 - ... */
cli_setatr(cli1, fname, 0, 0);