From e1d46c6821b3e1c07e191aeecae172bc5438e69f Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 28 Nov 2007 00:14:08 +0000 Subject: [PATCH] fixed bug in socks5 implementation when using user/pass authentication --- src/socks5_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socks5_stream.cpp b/src/socks5_stream.cpp index 26d87ab09..f0c41c02b 100644 --- a/src/socks5_stream.cpp +++ b/src/socks5_stream.cpp @@ -206,7 +206,7 @@ namespace libtorrent } std::vector().swap(m_buffer); - (*h)(e); + socks_connect(h); } void socks5_stream::socks_connect(boost::shared_ptr h)