changeset 6017:968a00c9f230

[gaim-migrate @ 6467] SOCKS4 and SOCKS5 proxy fixes from Grant Edwards (grante). Thanks Grant. Also, I'd be much obliged if someone could verify that SOCKS5 now works. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 04 Jul 2003 19:16:48 +0000
parents 1e4a574bb46d
children d4caf585f6ff
files src/proxy.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/proxy.c	Fri Jul 04 19:12:06 2003 +0000
+++ b/src/proxy.c	Fri Jul 04 19:16:48 2003 +0000
@@ -1030,7 +1030,7 @@
 		if (phb->account == NULL ||
 			gaim_account_get_connection(phb->account) != NULL) {
 
-			phb->func(phb->data, -1, GAIM_INPUT_READ);
+			phb->func(phb->data, source, GAIM_INPUT_READ);
 		}
 
 		g_free(phb->host);
@@ -1186,7 +1186,7 @@
 		if (phb->account == NULL ||
 			gaim_account_get_connection(phb->account) != NULL) {
 
-			phb->func(phb->data, -1, GAIM_INPUT_READ);
+			phb->func(phb->data, source, GAIM_INPUT_READ);
 		}
 
 		g_free(phb->host);
@@ -1306,7 +1306,7 @@
 		if (phb->account == NULL ||
 			gaim_account_get_connection(phb->account) != NULL) {
 
-			phb->func(phb->data, -1, GAIM_INPUT_READ);
+			phb->func(phb->data, source, GAIM_INPUT_READ);
 		}
 
 		g_free(phb->host);