aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-20 07:44:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-20 07:44:00 +0800
commita52f657ed865a948a7e56679e87f5fea06b0d0fd (patch)
tree30488295daa700c15d4428b3b1b30c10d719287c /camel
parent420926a83719e4f22861dae72eac41be9a2fec80 (diff)
downloadgsoc2013-evolution-a52f657ed865a948a7e56679e87f5fea06b0d0fd.tar.gz
gsoc2013-evolution-a52f657ed865a948a7e56679e87f5fea06b0d0fd.tar.zst
gsoc2013-evolution-a52f657ed865a948a7e56679e87f5fea06b0d0fd.zip
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
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-tcp-stream-ssl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 965c32b1c2..a46b3d23c8 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,10 @@
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
pipes the message source to the user-program and reads back the
modified message and replaces driver->priv->message with the new
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c
index b20b6d255e..fcab45b40c 100644
--- a/camel/camel-tcp-stream-ssl.c
+++ b/camel/camel-tcp-stream-ssl.c
@@ -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));