From 0957a305eabb2fb6379dc99748a5b2122bb5ff51 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 5 Oct 2010 10:06:34 +0200 Subject: [PATCH] Use hostport, not ipport for proxied connections --- src/connection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/connection.c b/src/connection.c index 643f1a7..c55785d 100644 --- a/src/connection.c +++ b/src/connection.c @@ -432,6 +432,8 @@ static int connection_connect(struct connection *con, iochan_man_t iochan_man) strcat(http_hostport, host->hostport); ZOOM_connection_connect(link, http_hostport, 0); } + else if (zproxy && *zproxy) + ZOOM_connection_connect(link, host->hostport, 0); else ZOOM_connection_connect(link, host->ipport, 0); -- 1.7.10.4