Fixed typo
authorDanilo Almeida <dalmeida@mit.edu>
Fri, 7 May 1999 22:12:17 +0000 (22:12 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Fri, 7 May 1999 22:12:17 +0000 (22:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11428 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/locate_kdc.c

index 8a1dfed9c0c8b04077d08c96610598d6219f4920..d3395afe09e64551d30a883301e706e9b247a4d4 100644 (file)
@@ -1,3 +1,7 @@
+Fri May  7 18:04:48 1999  Danilo D Almeida  <dalmeida@mit.edu>
+
+       * locate_kdc.c (krb5_locate_kdc): Fixed typo.
+
 Fri May  7 14:39:08 1999  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * locate_kdc.c (krb5_locate_kdc): Return KRB5_REALM_UNKNOWN if
index 68d78efeb14442cf8cde3043ef03f66d6442f866..83fd9a3ea2fcb952883e54c1eb722d25fbfb43d2 100644 (file)
@@ -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")))