diff --git a/lib/krb5/get_host_realm.c b/lib/krb5/get_host_realm.c index 8a44c22de..18aa95f95 100644 --- a/lib/krb5/get_host_realm.c +++ b/lib/krb5/get_host_realm.c @@ -58,7 +58,7 @@ copy_txt_to_realms (struct rk_resource_record *head, unsigned int n, i; for(n = 0, rr = head; rr; rr = rr->next) - if (rr->type == T_TXT) + if (rr->type == rk_ns_t_txt) ++n; if (n == 0) @@ -72,7 +72,7 @@ copy_txt_to_realms (struct rk_resource_record *head, (*realms)[i] = NULL; for (i = 0, rr = head; rr; rr = rr->next) { - if (rr->type == T_TXT) { + if (rr->type == rk_ns_t_txt) { char *tmp; tmp = strdup(rr->u.txt);