[nsd-users] missing _t -> _type conversion

W.C.A. Wijngaards wouter at nlnetlabs.nl
Mon Feb 20 08:03:55 UTC 2017


Hi Florian,

Thank you!  Patched the code for this #ifdef case.

Best regards, Wouter

On 17/02/17 15:43, Florian Obser wrote:
> 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;
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20170220/40781a38/attachment.bin>


More information about the nsd-users mailing list