Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util/Network.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-02-2E-11.localdomain>2007-06-19 23:43:05 (GMT)
committer amartin <olpc@xo-02-2E-11.localdomain>2007-06-19 23:43:05 (GMT)
commitf6e39cb72f81a0b3d9727e616fe3b8ea1ab71edf (patch)
tree2c939b6b84a551f519d1f25a38d69396ec997427 /Util/Network.py
parent97b554893c1215a1e35a81b1a13eaf807a3d5220 (diff)
network
Diffstat (limited to 'Util/Network.py')
-rw-r--r--Util/Network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Util/Network.py b/Util/Network.py
index ce72f08..03d674b 100644
--- a/Util/Network.py
+++ b/Util/Network.py
@@ -483,11 +483,11 @@ class Network:
self.processStream( sock )
#-- HOST handlers ------------------------------------------------------
- def processPR_LATENCY_QUERY( self, sock, data ):
+ def processPR_LATENCY_QUERY( self, sock, message, data ):
self.send( HT_LATENCY_REPLY, data, sock )
#-- PEER handlers ------------------------------------------------------
- def processHT_LATENCY_REPLY( self, sock, data ):
+ def processHT_LATENCY_REPLY( self, sock, message, data ):
t = time.time()
latency = t - self.latencyQueryStart[data]
#print "got latency reply %d" % (latency*1000)