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