Changeset 2381


Ignore:
Timestamp:
Jul 17, 2007, 12:31:38 AM (15 years ago)
Author:
charles
Message:

test fix tr_getDone() for BentMyWookie?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r2379 r2381  
    11041104            if( cpStatus != tor->cpStatus ) {
    11051105                tor->cpStatus = cpStatus;
    1106                 if( (cpStatus == TR_CP_COMPLETE)        /* if we're complete */
     1106                tor->hasChangedState = tor->cpStatus;  /* tell the client... */
     1107                if( (cpStatus == TR_CP_COMPLETE) /* ...and if we're complete */
    11071108                    && tor->tracker!=NULL           /* and we have a tracker */
    11081109                    && tor->downloadedCur ) {        /* and it just happened */
    11091110                    tr_trackerCompleted( tor->tracker ); /* tell the tracker */
    1110                     tor->hasChangedState = tor->cpStatus;  /* and the client */
    11111111                }
    11121112                tr_ioSync( tor->io );
Note: See TracChangeset for help on using the changeset viewer.