From 1c895779cebbb6ef2ba47f1cc1dbfa5e80a84bfd Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 20 Jun 2012 23:58:23 +0200 Subject: [PATCH] fix sockes5 transfer --- src/common/file_props.py | 1 + src/common/protocol/bytestream.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/file_props.py b/src/common/file_props.py index 5741824f4..aef5ccadd 100644 --- a/src/common/file_props.py +++ b/src/common/file_props.py @@ -135,6 +135,7 @@ class FileProp(object): self.startexmpp = None self.session_type = None self.request_id = None + self.proxyhosts = None def getsid(self): # Getter of the property sid diff --git a/src/common/protocol/bytestream.py b/src/common/protocol/bytestream.py index 930288443..fc928f89b 100644 --- a/src/common/protocol/bytestream.py +++ b/src/common/protocol/bytestream.py @@ -735,7 +735,7 @@ class ConnectionSocks5Bytestream(ConnectionBytestream): if file_props.stopped: self.remove_transfer(file_props) else: - gajim.socks5queue.send_file(file_props, self.name, 'client') + gajim.socks5queue.send_file(file_props, self.name, 'server') raise xmpp.NodeProcessed