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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user