Changeset 23
- Timestamp:
- Jan 12, 2006, 7:01:41 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/main.c
r22 r23 808 808 switch(act) { 809 809 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); 814 811 updatesave = TRUE; 815 812 break; -
trunk/libtransmission/transmission.c
r20 r23 26 26 * Local prototypes 27 27 **********************************************************************/ 28 static void torrentReallyStop( tr_handle_t * h, int t ); 28 29 static void downloadLoop( void * ); 29 30 static float rateDownload( tr_torrent_t * ); … … 232 233 uint64_t now; 233 234 int i; 235 236 if( tor->status & ( TR_STATUS_STOPPING | TR_STATUS_STOPPED ) ) 237 { 238 /* Join the thread first */ 239 torrentReallyStop( h, t ); 240 } 234 241 235 242 tor->status = TR_STATUS_CHECK;
Note: See TracChangeset
for help on using the changeset viewer.