revert previous

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12333 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-05-26 21:59:54 +00:00
parent c17d918b00
commit 68ba8507a5
3 changed files with 2 additions and 22 deletions

View File

@@ -161,8 +161,6 @@ krb5_get_host_realm_int (krb5_context context,
dns_locate_enable = krb5_config_get_bool_default(context, NULL, TRUE,
"libdefaults", "dns_lookup_realm", NULL);
for (p = host; p != NULL; p = strchr (p + 1, '.')) {
if (strchr(p + 1, '.') == NULL) /* dont use if only one label left */
break;
if(config_find_realm(context, p, realms) == 0) {
if(strcasecmp(*realms[0], "dns_locate") == 0) {
if(use_dns)