pacify mdoclink

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12331 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-05-26 21:56:28 +00:00
parent ea7714fd49
commit cb584f6348
13 changed files with 236 additions and 12 deletions

View File

@@ -161,6 +161,8 @@ 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)