changeset 2266:0844f0bdf119

[gaim-migrate @ 2276] reverend jim tells me this is more correct committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 11 Sep 2001 00:00:58 +0000
parents 2f03cfd21fc2
children 837aa71710c5
files src/proxy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/proxy.c	Mon Sep 10 23:23:54 2001 +0000
+++ b/src/proxy.c	Tue Sep 11 00:00:58 2001 +0000
@@ -249,7 +249,7 @@
 	}
 	fcntl(source, F_SETFL, 0);
 
-	g_snprintf(cmd, sizeof(cmd), "CONNECT %s:%d HTTP/1.1\r\n", phb->host, phb->port);
+	g_snprintf(cmd, sizeof(cmd), "CONNECT %s:%d HTTP/1.1\r\nHost = %s:%d\r\n", phb->host, phb->port, phb->host, phb->port);
 	if (send(source, cmd, strlen(cmd), 0) < 0) {
 		close(source);
 		phb->func(phb->data, -1, GAIM_INPUT_READ);