git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2acb5
)
dns: switch to rk types, prefix types with rk_
author
Love Hörnquist Åstrand
<lha@kth.se>
Sun, 22 Mar 2009 17:18:25 +0000
(17:18 +0000)
committer
Love 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
patch
|
blob
|
history
diff --git
a/lib/krb5/get_host_realm.c
b/lib/krb5/get_host_realm.c
index 8a44c22de6359b3bddaffe8933c40dd7794f813b..18aa95f95aa0ffe0d923c8fa7165db1e9c69e6e3 100644
(file)
--- 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);