summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2011-08-14 12:28:24 -0400
committerLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2011-08-14 12:28:24 -0400
commit9e7d6f22ab3aa1a52e19308ff2c2ce8e8e9a746e (patch)
treebf6e394fe91e86b0b1a23837b061ffcf522933ce
parentf56141e5b383bdff7afb6c74529f2e92b6f32d07 (diff)
bugfix: allow TLP2 chunks to have blob_size == 0
-rw-r--r--papyon/msnp2p/transport/transport_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/papyon/msnp2p/transport/transport_manager.py b/papyon/msnp2p/transport/transport_manager.py
index 80b919d..07f3ac3 100644
--- a/papyon/msnp2p/transport/transport_manager.py
+++ b/papyon/msnp2p/transport/transport_manager.py
@@ -151,7 +151,7 @@ class P2PTransportManager(gobject.GObject):
if key in self._blacklist:
return
- if chunk.size == 0 or chunk.blob_size == 0:
+ if chunk.size == 0 or (chunk.version == 1 and chunk.blob_size == 0):
return
if key in self._data_blobs: