Ignore:
Timestamp:
Feb 11, 2009, 4:34:35 PM (13 years ago)
Author:
charles
Message:

(trunk libT) partial revert of r7825: back out the refillPulse() changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/webseed.c

    r7824 r7874  
    6060    if( w->callback )
    6161        w->callback( NULL, e, w->callback_userdata );
     62}
     63
     64static void
     65fireNeedReq( tr_webseed * w )
     66{
     67    tr_peer_event e = blankEvent;
     68    e.eventType = TR_PEER_NEED_REQ;
     69    publish( w, &e );
    6270}
    6371
     
    173181            if( w->dead )
    174182                tr_webseedFree( w );
    175             else
     183            else  {
    176184                fireClientGotBlock( w, w->pieceIndex, w->pieceOffset, w->byteCount );
     185                fireNeedReq( w );
     186            }
    177187        }
    178188    }
Note: See TracChangeset for help on using the changeset viewer.