dns: switch to rk types, prefix types with rk_

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24890 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-03-22 17:18:25 +00:00
parent fb2acb56f3
commit 5cb8acdf6d

View 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);