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:
parent
30cd122beb
commit
efed82cb69
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user