diff options
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index 30027ece..d9b78129 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -1366,7 +1366,7 @@ class XMLStream(object): try: while sent < total and not self.stop.is_set(): try: - sent += self.socket.send(data[sent:]) + sent += self.socket.send(enc_data[sent:]) count += 1 except ssl.SSLError as serr: if tries >= self.ssl_retry_max: |