]> granicus.if.org Git - transmission/commitdiff
(trunk libT) fix call to updateDesiredRequestCount() reported by sadface
authorCharles Kerr <charles@transmissionbt.com>
Wed, 16 Dec 2009 01:32:23 +0000 (01:32 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Wed, 16 Dec 2009 01:32:23 +0000 (01:32 +0000)
libtransmission/peer-msgs.c

index ac19dec4197c625943d272fec0eee3f6bb59286a..e52b063da297454d8adca0d9b7911712a02ef0e3 100644 (file)
@@ -1999,7 +1999,7 @@ peerPulse( void * vmsgs )
     const time_t  now = tr_time( );
 
     if ( tr_isPeerIo( msgs->peer->io ) ) {
-        updateDesiredRequestCount( msgs, now );
+        updateDesiredRequestCount( msgs, tr_date( ) );
         updateBlockRequests( msgs );
         updateMetadataRequests( msgs, now );
     }