diff options
author | Volker Lendecke <vl@samba.org> | 2014-02-13 13:19:26 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-20 11:43:08 -0800 |
commit | efed82cb69499f6d7ed09b7263689e47e25a9d94 (patch) | |
tree | 61a3aaa0506447b92356bad813cd8188a7d484fd /nsswitch/winbind_krb5_locator.c | |
parent | 30cd122beb32d0935afcd5bc2f3192f3c25aaeea (diff) | |
download | samba-efed82cb69499f6d7ed09b7263689e47e25a9d94.tar.gz samba-efed82cb69499f6d7ed09b7263689e47e25a9d94.tar.xz samba-efed82cb69499f6d7ed09b7263689e47e25a9d94.zip |
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>
Diffstat (limited to 'nsswitch/winbind_krb5_locator.c')
-rw-r--r-- | nsswitch/winbind_krb5_locator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nsswitch/winbind_krb5_locator.c b/nsswitch/winbind_krb5_locator.c index 385a156b945..91a2d64d84c 100644 --- a/nsswitch/winbind_krb5_locator.c +++ b/nsswitch/winbind_krb5_locator.c @@ -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; } |