Mercurial > pidgin.yaz
diff src/proxy.c @ 3098:778e4e27c33e
[gaim-migrate @ 3112]
HTTP Proxy now HTTP compliant.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 28 Mar 2002 18:03:14 +0000 |
parents | 76f84e1a3b8f |
children | f4f4232f4e83 |
line wrap: on
line diff
--- a/src/proxy.c Thu Mar 28 17:44:48 2002 +0000 +++ b/src/proxy.c Thu Mar 28 18:03:14 2002 +0000 @@ -276,7 +276,7 @@ } fcntl(source, F_SETFL, 0); - g_snprintf(cmd, sizeof(cmd), "CONNECT %s:%d HTTP/1.1\r\nHost = %s:%d\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);