dns: switch to rk types, prefix types with rk_
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:18:25 +0000 (17:18 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:18:25 +0000 (17:18 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24890 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/get_host_realm.c

index 8a44c22de6359b3bddaffe8933c40dd7794f813b..18aa95f95aa0ffe0d923c8fa7165db1e9c69e6e3 100644 (file)
@@ -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);