changeset 2940:76f84e1a3b8f

[gaim-migrate @ 2953] Ho Hum committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 30 Jan 2002 02:40:59 +0000
parents 06a61bda8173
children 6df089d51b11
files ChangeLog src/proxy.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 26 09:49:15 2002 +0000
+++ b/ChangeLog	Wed Jan 30 02:40:59 2002 +0000
@@ -3,6 +3,8 @@
 version 0.52:
 	* Better buddy icon transparency (thanks SeanEgan)
 	* Updated Polish Translation (thanks Przemyslaw Sulek)
+	* Fixed a little bug with connecting via proxy (thanks
+	  for reminding me of this, Manish Singh)
 
 version 0.51 (01/24/2002):
 	* Arrow buttons in log viewer and some other dialogs
--- a/src/proxy.c	Sat Jan 26 09:49:15 2002 +0000
+++ b/src/proxy.c	Wed Jan 30 02:40:59 2002 +0000
@@ -321,7 +321,7 @@
 
 	debug_printf("connecting to %s:%d via %s:%d using HTTP\n", host, port, proxyhost, proxyport);
 
-	if (!(sin = gaim_gethostbyname(proxyhost, port))) {
+	if (!(sin = gaim_gethostbyname(proxyhost, proxyport))) {
 		g_free(phb);
 		return -1;
 	}
@@ -440,7 +440,7 @@
 
 	debug_printf("connecting to %s:%d via %s:%d using SOCKS4\n", host, port, proxyhost, proxyport);
 
-	if (!(sin = gaim_gethostbyname(proxyhost, port))) {
+	if (!(sin = gaim_gethostbyname(proxyhost, proxyport))) {
 		g_free(phb);
 		return -1;
 	}
@@ -663,7 +663,7 @@
 
 	debug_printf("connecting to %s:%d via %s:%d using SOCKS5\n", host, port, proxyhost, proxyport);
 
-	if (!(sin = gaim_gethostbyname(proxyhost, port))) {
+	if (!(sin = gaim_gethostbyname(proxyhost, proxyport))) {
 		g_free(phb);
 		return -1;
 	}