summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittornado/files/extra-patch-BitTornado_BT1_Rerequester.py
blob: 5bb009b571aed3f633ce771e4403da9aaaf9d360 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$FreeBSD$

--- BitTornado/BT1/Rerequester.py.orig	Tue Sep 14 19:32:11 2004
+++ BitTornado/BT1/Rerequester.py	Tue Sep 14 19:33:00 2004
@@ -115,7 +115,7 @@
             if self.howmany() >= self.maxpeers:
                 s += '&numwant=0'
             else:
-                s += '&no_peer_id=1&compact=1'
+                s += '&no_peer_id=1'
             self.last_failed = True         # force true, so will display an error
             self.special = specialurl
             self.rerequest(s, callback)
@@ -132,7 +132,7 @@
         if self.howmany() >= self.maxpeers:
             s += '&numwant=0'
         else:
-            s += '&no_peer_id=1&compact=1'
+            s += '&no_peer_id=1'
         if event != 3:
             s += '&event=' + ['started', 'completed', 'stopped'][event]
             
@@ -384,4 +384,4 @@
         self.lock.acquire()
         x = self.finished
         self.lock.release()
-        return x    
\ No newline at end of file
+        return x