git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30cd122
)
krb5_locator: Slightly simplify code
author
Volker Lendecke
<vl@samba.org>
Thu, 13 Feb 2014 13:19:26 +0000
(13:19 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 20 Feb 2014 19:43:08 +0000
(11:43 -0800)
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>
nsswitch/winbind_krb5_locator.c
patch
|
blob
|
history
diff --git
a/nsswitch/winbind_krb5_locator.c
b/nsswitch/winbind_krb5_locator.c
index 385a156b945c783ebd98576d78bc0e453ac6c615..91a2d64d84c4eafd2b37e642572b27d984546f26 100644
(file)
--- 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;
}