git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3668a4c
)
s3:torture:delete: remove an else, reducing indentation
author
Michael Adam
<obnox@samba.org>
Wed, 8 Aug 2012 10:19:31 +0000
(12:19 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 9 Aug 2012 13:29:44 +0000
(15:29 +0200)
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index 14dfad152aba3d6d72c8f1bdd32b12166d424705..243a8a7f44b168a7b85b5ae33c80dae763d5aeb9 100644
(file)
--- 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);