s3:torture:delete: remove an else, reducing indentation
authorMichael Adam <obnox@samba.org>
Wed, 8 Aug 2012 10:17:29 +0000 (12:17 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 9 Aug 2012 13:29:42 +0000 (15:29 +0200)
source3/torture/torture.c

index e364b17f7c25da4d4cd32f3f074aece103d315b2..14dfad152aba3d6d72c8f1bdd32b12166d424705 100644 (file)
@@ -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,