changeset 13752:c502ed5ae9f6

[gaim-migrate @ 16163] A patch in SF Bug #1461450 from gonufer. This should make SOCKS-5 proxies work again. It looked correct to me, but someone who really knows the proxy code might want to double-check. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 09 May 2006 01:35:43 +0000
parents 7925c5d81ecf
children c066473fff04
files src/proxy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/proxy.c	Tue May 09 01:22:33 2006 +0000
+++ b/src/proxy.c	Tue May 09 01:35:43 2006 +0000
@@ -1737,7 +1737,7 @@
 {
 	struct PHB *phb = data;
 	int hlen = strlen(phb->host);
-	phb->write_buf_len = 5 + hlen + 1;
+	phb->write_buf_len = 5 + hlen + 2;
 	phb->write_buffer = g_malloc(phb->write_buf_len);
 	phb->written_len = 0;