s3:smbd: fix brace placements in validate_my_share_entries() for readability
authorMichael Adam <obnox@samba.org>
Wed, 26 Sep 2012 07:08:17 +0000 (09:08 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 17 Oct 2012 12:37:58 +0000 (14:37 +0200)
according to coding guidelines

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 17 14:37:58 CEST 2012 on sn-devel-104

source3/smbd/open.c

index efabe4a480e7646dfcb5da74ff6e9e97a41ef692..7eb9f321f8152e6bea9b78ba56598be40d57fbdc 100644 (file)
@@ -1012,7 +1012,8 @@ static void validate_my_share_entries(struct smbd_server_connection *sconn,
        }
 
        if (is_deferred_open_entry(share_entry) &&
-           !open_was_deferred(sconn, share_entry->op_mid)) {
+           !open_was_deferred(sconn, share_entry->op_mid))
+       {
                char *str = talloc_asprintf(talloc_tos(),
                        "Got a deferred entry without a request: "
                        "PANIC: %s\n",
@@ -1038,7 +1039,8 @@ static void validate_my_share_entries(struct smbd_server_connection *sconn,
        }
 
        if ((share_entry->op_type == NO_OPLOCK) &&
-           (fsp->oplock_type == FAKE_LEVEL_II_OPLOCK)) {
+           (fsp->oplock_type == FAKE_LEVEL_II_OPLOCK))
+       {
                /* Someone has already written to it, but I haven't yet
                 * noticed */
                return;