[nsd-users] missing _t -> _type conversion

Florian Obser florian at openbsd.org
Fri Feb 17 14:43:03 UTC 2017


Index: query.c
===================================================================
--- query.c	(revision 4740)
+++ query.c	(working copy)
@@ -664,7 +664,7 @@
 			temp->rnode = NULL;
 			temp->dname = additional->dname;
 #else
-			memcpy(&temp->node, &additional->node, sizeof(rbnode_t));
+			memcpy(&temp->node, &additional->node, sizeof(rbnode_type));
 			temp->node.parent = NULL;
 #endif
 			temp->number = additional->number;
@@ -1113,7 +1113,7 @@
 		match->rnode = NULL;
 		match->dname = wildcard_child->dname;
 #else
-		memcpy(&match->node, &wildcard_child->node, sizeof(rbnode_t));
+		memcpy(&match->node, &wildcard_child->node, sizeof(rbnode_type));
 		match->node.parent = NULL;
 #endif
 		match->parent = closest_encloser;

-- 
I'm not entirely sure you are real.



More information about the nsd-users mailing list