Fixed a type-o in the ENABLE_IPv6 ifdef section.
2003-02-19 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (stream_connect): Fixed a type-o in the ENABLE_IPv6 ifdef section. svn path=/trunk/; revision=19954
This commit is contained in:
committed by
Jeffrey Stedfast
parent
420926a837
commit
a52f657ed8
@ -1,3 +1,8 @@
|
||||
2003-02-19 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* camel-tcp-stream-ssl.c (stream_connect): Fixed a type-o in the
|
||||
ENABLE_IPv6 ifdef section.
|
||||
|
||||
2003-02-19 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* camel-filter-driver.c (pipe_message): New filter action that
|
||||
|
||||
@ -1004,7 +1004,7 @@ stream_connect (CamelTcpStream *stream, struct hostent *host, int port)
|
||||
|
||||
memset ((void *) &netaddr, 0, sizeof (PRNetAddr));
|
||||
#ifdef ENABLE_IPv6
|
||||
if (h->addrtype == AF_INET6)
|
||||
if (host->h_addrtype == AF_INET6)
|
||||
memcpy (&netaddr.ipv6.ip, host->h_addr, sizeof (netaddr.ipv6.ip));
|
||||
else
|
||||
memcpy (&netaddr.inet.ip, host->h_addr, sizeof (netaddr.inet.ip));
|
||||
|
||||
Reference in New Issue
Block a user