diff options
Diffstat (limited to 'Util/Network.py')
-rw-r--r-- | Util/Network.py | 4 |
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) |