security: Fixed incorrect indentation in create_descriptor.c
authorNadezhda Ivanova <nivanova@samba.org>
Thu, 13 Jan 2011 13:22:15 +0000 (15:22 +0200)
committerNadezhda Ivanova <nivanova@samba.org>
Thu, 13 Jan 2011 14:53:16 +0000 (15:53 +0100)
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Jan 13 15:53:16 CET 2011 on sn-devel-104

libcli/security/create_descriptor.c

index 2228e48783aea7bea381e340a15a934de47e176f..e5fa9b8cb523807f78f36ac84e9b446cd1f1992a 100644 (file)
@@ -253,18 +253,18 @@ static struct security_acl *process_user_acl(TALLOC_CTX *mem_ctx,
                                                    owner,
                                                    group);
                        } else {
-                       /*The original ACE becomes read only */
-                       tmp_acl->aces[tmp_acl->num_aces-1].flags |= SEC_ACE_FLAG_INHERIT_ONLY;
-                       tmp_acl->aces = talloc_realloc(tmp_acl, tmp_acl->aces,
-                                                      struct security_ace,
-                                                      tmp_acl->num_aces+1);
-                       /* add a new ACE with expanded generic info */
-                       tmp_acl->aces[tmp_acl->num_aces] = *ace;
-                       desc_expand_generic(tmp_ctx,
-                                           &tmp_acl->aces[tmp_acl->num_aces],
-                                           owner,
-                                           group);
-                       tmp_acl->num_aces++;
+                               /*The original ACE becomes read only */
+                               tmp_acl->aces[tmp_acl->num_aces-1].flags |= SEC_ACE_FLAG_INHERIT_ONLY;
+                               tmp_acl->aces = talloc_realloc(tmp_acl, tmp_acl->aces,
+                                                              struct security_ace,
+                                                              tmp_acl->num_aces+1);
+                               /* add a new ACE with expanded generic info */
+                               tmp_acl->aces[tmp_acl->num_aces] = *ace;
+                               desc_expand_generic(tmp_ctx,
+                                                   &tmp_acl->aces[tmp_acl->num_aces],
+                                                   owner,
+                                                   group);
+                               tmp_acl->num_aces++;
                        }
                }
        }