Hi there,

2017-04-14 13:41 GMT+02:00 Andrey V. Elsukov <a...@freebsd.org>:
> -               memcpy(&tent->k, &xn->addr6.sin6_addr, sizeof(struct 
> in6_addr));
> +               memcpy(&tent->k.addr6, &xn->addr6.sin6_addr,
> +                   sizeof(struct in6_addr));

In this case the code could be abbreviated by simply using assignment, right?

tent->k.addr6 = xn->addr6.sin6_addr;

-- 
Ed Schouten <e...@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to