[telepathy-gabble/master] socks5_connect: use the right timeout when waiting for connection

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Jun 10 07:02:06 PDT 2009


---
 src/bytestream-socks5.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/bytestream-socks5.c b/src/bytestream-socks5.c
index 22a0739..6c3c82a 100644
--- a/src/bytestream-socks5.c
+++ b/src/bytestream-socks5.c
@@ -1248,7 +1248,7 @@ socks5_connect (GabbleBytestreamSocks5 *self)
   g_object_unref (transport);
 
   /* We don't wait to wait for the TCP timeout is the host is unreachable */
-  start_timer (self, CONNECT_REPLY_TIMEOUT);
+  start_timer (self, CONNECT_TIMEOUT);
 
   gibber_tcp_transport_connect (transport, streamhost->host,
       streamhost->port);
-- 
1.5.6.5




More information about the telepathy-commits mailing list