Changeset 23


Ignore:
Timestamp:
Jan 12, 2006, 7:01:41 PM (15 years ago)
Author:
root
Message:

Update 2005-12-29

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r22 r23  
    808808    switch(act) {
    809809      case ACT_START:
    810         if(TR_STATUS_STOPPING & sb[index].status)
    811           fprintf(stderr, "XXX still running\n");
    812         else
    813           tr_torrentStart(data->tr, index);
     810        tr_torrentStart(data->tr, index);
    814811        updatesave = TRUE;
    815812        break;
  • trunk/libtransmission/transmission.c

    r20 r23  
    2626 * Local prototypes
    2727 **********************************************************************/
     28static void torrentReallyStop( tr_handle_t * h, int t );
    2829static void  downloadLoop( void * );
    2930static float rateDownload( tr_torrent_t * );
     
    232233    uint64_t       now;
    233234    int            i;
     235
     236    if( tor->status & ( TR_STATUS_STOPPING | TR_STATUS_STOPPED ) )
     237    {
     238        /* Join the thread first */
     239        torrentReallyStop( h, t );
     240    }
    234241
    235242    tor->status   = TR_STATUS_CHECK;
Note: See TracChangeset for help on using the changeset viewer.