[evolution-data-server/camel-socks-proxy] Fix cut&paste error



commit 52f35e5ca3c0c389395984e4799be052b56b8a82
Author: Federico Mena Quintero <federico novell com>
Date:   Fri Jul 23 15:11:45 2010 -0500

    Fix cut&paste error
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 camel/camel-tcp-stream-raw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-tcp-stream-raw.c b/camel/camel-tcp-stream-raw.c
index 6096af3..ff5adfa 100644
--- a/camel/camel-tcp-stream-raw.c
+++ b/camel/camel-tcp-stream-raw.c
@@ -1100,7 +1100,7 @@ stream_connect (CamelTcpStream *stream, const char *host, const char *service, g
 	while (ai) {
 		if (proxy_host) {
 			/* SOCKS4 only does IPv4 */
-			if (connect_addr->ai_addr->sa_family == AF_INET)
+			if (ai->ai_addr->sa_family == AF_INET)
 				priv->sockfd = connect_to_socks4_proxy (raw, proxy_host, proxy_port, ai, ex);
 		} else
 			priv->sockfd = socket_connect (ai);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]