# HG changeset patch # User Richard Laager # Date 1147138543 0 # Node ID c502ed5ae9f66e0daba76e27bad540f099b186a2 # Parent 7925c5d81ecfca58a32cdecb1c6da5189e0a377b [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 diff -r 7925c5d81ecf -r c502ed5ae9f6 src/proxy.c --- 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;