From 8b2be52e93a642abb62ff34e7a2407b699af25c4 Mon Sep 17 00:00:00 2001 From: Danilo Almeida Date: Fri, 7 May 1999 22:12:17 +0000 Subject: [PATCH] Fixed typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11428 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 4 ++++ src/lib/krb5/os/locate_kdc.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 8a1dfed9c..d3395afe0 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +Fri May 7 18:04:48 1999 Danilo D Almeida + + * locate_kdc.c (krb5_locate_kdc): Fixed typo. + Fri May 7 14:39:08 1999 Theodore Y. Ts'o * locate_kdc.c (krb5_locate_kdc): Return KRB5_REALM_UNKNOWN if diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index 68d78efeb..83fd9a3ea 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -73,11 +73,11 @@ krb5_locate_kdc(context, realm, addr_pp, naddrs, master_index, nmasters) code = profile_get_values(context->profile, realm_kdc_names, &hostlist); if (code) { - if (code == PROF_NO_SECTION || code == PROF_NO_RELATION) { - code = KRB5_REALM_UNKNOWN; - krb5_xfree(host); - return code; - } + if (code == PROF_NO_SECTION || code == PROF_NO_RELATION) + code = KRB5_REALM_UNKNOWN; + krb5_xfree(host); + return code; + } #ifdef HAVE_NETINET_IN_H if ((sp = getservbyname(KDC_PORTNAME, "udp"))) -- 2.26.2