[Telepathy-commits] [telepathy-gabble/master] socks5: we are not the initiator when checking the CONNECT reply

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Mar 17 09:43:08 PDT 2009


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

diff --git a/src/bytestream-socks5.c b/src/bytestream-socks5.c
index 00d82e8..446b598 100644
--- a/src/bytestream-socks5.c
+++ b/src/bytestream-socks5.c
@@ -744,8 +744,8 @@ socks5_handle_received_data (GabbleBytestreamSocks5 *self,
             return string->len;
           }
 
-        domain = compute_domain(priv->stream_id, priv->self_full_jid,
-            priv->peer_jid);
+        domain = compute_domain(priv->stream_id, priv->peer_jid,
+            priv->self_full_jid);
 
         if (!check_domain (&string->str[5], domain_len, domain))
           {
-- 
1.5.6.5




More information about the telepathy-commits mailing list