- (djm) [canohost.c] Zero a4 instead of addr to better match type.
bz#1825, reported by foo AT mailinator.com
This commit is contained in:
parent
1f78980099
commit
47e57bfab4
|
@ -1,3 +1,7 @@
|
|||
20101011
|
||||
- (djm) [canohost.c] Zero a4 instead of addr to better match type.
|
||||
bz#1825, reported by foo AT mailinator.com
|
||||
|
||||
20101011
|
||||
- (djm) [configure.ac] Use = instead of == in shell tests. Patch from
|
||||
dr AT vasco.com
|
||||
|
|
|
@ -199,7 +199,7 @@ ipv64_normalise_mapped(struct sockaddr_storage *addr, socklen_t *len)
|
|||
memcpy(&inaddr, ((char *)&a6->sin6_addr) + 12, sizeof(inaddr));
|
||||
port = a6->sin6_port;
|
||||
|
||||
memset(addr, 0, sizeof(*a4));
|
||||
bzero(a4, sizeof(*a4));
|
||||
|
||||
a4->sin_family = AF_INET;
|
||||
*len = sizeof(*a4);
|
||||
|
|
Loading…
Reference in New Issue