summaryrefslogtreecommitdiff
blob: 566464c35003192054957c0feeb53868540b6c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Fix proxy
#
diff -u -r1.71 server.c
--- xchat-2.6.4/src/common/server.c	29 May 2006 06:53:25 -0000	1.71
+++ xchat-2.6.4p1/src/common/server.c	8 Jun 2006 15:22:07 -0000
@@ -1534,7 +1534,10 @@
 	if (!serv->dont_use_proxy && (prefs.proxy_type == 5))
 		error = net_connect (ns_server, serv->proxy_sok4, serv->proxy_sok6, &psok);
 	else
+	{
 		error = net_connect (ns_server, serv->sok4, serv->sok6, &sok);
+		psok = sok;
+	}
 
 	if (error != 0)
 	{