[or-cvs] r17790: {tor} Refactor tor_addr_t manipulation functions so that as few as (tor/trunk/src/common)

coderman coderman at gmail.com
Sat Dec 27 05:09:05 UTC 2008


On Fri, Dec 26, 2008 at 1:26 PM,  <nickm at seul.org> wrote:
>...
>       } else if (ent->h_addrtype == AF_INET6) {
> -        memcpy(&addr->addr.in6_addr, ent->h_addr, sizeof(struct in6_addr));
> +        tor_addr_from_in(addr, (struct in6_addr*) ent->h_addr);

hi nick, a slight typo.  this should be tor_addr_from_in6:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tor-addrfix.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20081226/b5ea4e93/attachment.bin>


More information about the tor-dev mailing list