Ignore:
Timestamp:
Jun 9, 2013, 6:56:10 PM (9 years ago)
Author:
jordan
Message:

(trunk, libT) #53737 fix 2.77+ nightly regression that misreported the number of webseeds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r14088 r14089  
    869869countActiveWebseeds (tr_swarm * s)
    870870{
    871   int activeCount;
     871  int activeCount = 0;
    872872
    873873  if (s->tor->isRunning && !tr_torrentIsSeed (s->tor))
     
    880880        if (tr_peerIsTransferringPieces (tr_ptrArrayNth(&s->webseeds,i), now, TR_DOWN, NULL))
    881881          ++activeCount;
    882     }
    883   else
    884     {
    885       activeCount = 0;
    886882    }
    887883
Note: See TracChangeset for help on using the changeset viewer.