summaryrefslogtreecommitdiff
path: root/source3/lib/sysacls.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-12-18 16:33:14 +0100
committerGünther Deschner <gd@samba.org>2012-12-21 13:56:01 +0100
commit3f899daa9e32372daaed7729633a3325576f174a (patch)
treea5c8bd2edcf80ce411aa1131537f8733392df983 /source3/lib/sysacls.c
parent96de3e7364c6ca3c9184a1f920cf210565f4e78f (diff)
downloadsamba-3f899daa9e32372daaed7729633a3325576f174a.tar.gz
s3-lib: Make it clear that we want to fall trough here.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/lib/sysacls.c')
-rw-r--r--source3/lib/sysacls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index b63e682bd47..6e1ac21a1ea 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -186,6 +186,7 @@ char *sys_acl_to_text(const struct smb_acl_t *acl_d, ssize_t *len_p)
case SMB_ACL_USER:
id = uidtoname(ap->info.user.uid);
+ /* FALL TROUGH */
case SMB_ACL_USER_OBJ:
tag = "user";
break;
@@ -198,6 +199,7 @@ char *sys_acl_to_text(const struct smb_acl_t *acl_d, ssize_t *len_p)
} else {
id = gr->gr_name;
}
+ /* FALL TROUGH */
case SMB_ACL_GROUP_OBJ:
tag = "group";
break;