summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-01-23 15:48:39 +0100
committerKarolin Seeger <kseeger@samba.org>2020-02-11 11:49:17 +0000
commit2db313bdb57acb67733e51021a19bd42d245ea75 (patch)
treee036adcd2238be76ff79e332f1d99d87231cd0ea
parent5f57256cf52aeb3f934645a1d71e3841eac0a37d (diff)
downloadsamba-2db313bdb57acb67733e51021a19bd42d245ea75.tar.gz
s3:auth_sam: replace confusing FALL_THROUGH; with break;
There's no real logic change here, but is makes it easier to understand. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14247 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 85b168c6dac88f5065c0ec6e925937439f2c12ed)
-rw-r--r--source3/auth/auth_sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c
index 46958c54d3a..1ccaededc2d 100644
--- a/source3/auth/auth_sam.c
+++ b/source3/auth/auth_sam.c
@@ -89,7 +89,7 @@ static NTSTATUS auth_samstrict_auth(const struct auth_context *auth_context,
return NT_STATUS_NOT_IMPLEMENTED;
}
- FALL_THROUGH;
+ break;
case ROLE_DOMAIN_PDC:
case ROLE_DOMAIN_BDC:
if ( !is_local_name && !is_my_domain ) {
@@ -98,7 +98,7 @@ static NTSTATUS auth_samstrict_auth(const struct auth_context *auth_context,
return NT_STATUS_NOT_IMPLEMENTED;
}
- FALL_THROUGH;
+ break;
default: /* name is ok */
break;
}