1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

krb5_locator: Slightly simplify code

This makes it a bit easier to read for me

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
This commit is contained in:
Volker Lendecke 2014-02-13 13:19:26 +00:00 committed by Jeremy Allison
parent 30cd122beb
commit efed82cb69

View File

@ -142,11 +142,10 @@ static int smb_krb5_locator_lookup_sanity_check(enum locate_service_type svc,
switch (family) {
case AF_UNSPEC:
case AF_INET:
break;
#if defined(HAVE_IPV6)
case AF_INET6:
break;
#endif
break;
default:
return EINVAL;
}