Lines 1-20
Link Here
|
1 |
--- query.c.orig 2017-03-09 14:53:32 UTC |
|
|
2 |
+++ query.c |
3 |
@@ -664,7 +664,7 @@ add_additional_rrsets(struct query *quer |
4 |
temp->rnode = NULL; |
5 |
temp->dname = additional->dname; |
6 |
#else |
7 |
- memcpy(&temp->node, &additional->node, sizeof(rbnode_t)); |
8 |
+ memcpy(&temp->node, &additional->node, sizeof(rbnode_type)); |
9 |
temp->node.parent = NULL; |
10 |
#endif |
11 |
temp->number = additional->number; |
12 |
@@ -1113,7 +1113,7 @@ answer_authoritative(struct nsd *nsd, |
13 |
match->rnode = NULL; |
14 |
match->dname = wildcard_child->dname; |
15 |
#else |
16 |
- memcpy(&match->node, &wildcard_child->node, sizeof(rbnode_t)); |
17 |
+ memcpy(&match->node, &wildcard_child->node, sizeof(rbnode_type)); |
18 |
match->node.parent = NULL; |
19 |
#endif |
20 |
match->parent = closest_encloser; |