Changeset 2317
- Timestamp:
- Jul 10, 2007, 3:23:07 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/torrent-inspector.c
r2316 r2317 1187 1187 gtk_tree_model_get( GTK_TREE_MODEL(store), iter, FC_INDEX, &index, -1 ); 1188 1188 if (index >= 0) 1189 tr_torrentSetFileDL( tor, index, !enabled );1189 tr_torrentSetFileDL( tor, index, enabled ); 1190 1190 gtk_tree_store_set( store, iter, FC_ENABLED, enabled, -1 ); 1191 1191 -
trunk/libtransmission/fastresume.c
r2316 r2317 63 63 /* dnd and priority 64 64 * char * number of files: l,n,h for low, normal, high priority 65 * uint8_t * number of files: nonzero if dnd flag is set65 * char * number of files: t,f for DND flags 66 66 */ 67 67 #define FR_ID_PRIORITY 0x06 … … 196 196 /* dnd flags */ 197 197 for( i=0; i<n; ++i ) 198 *walk++ = tor->info.files[i].dnd ? ' \1' : '\0';198 *walk++ = tor->info.files[i].dnd ? 't' : 'f'; 199 199 200 200 /* write it */ … … 260 260 /* set the dnd flags */ 261 261 for( i=0; i<n; ++i ) 262 tor->info.files[i].dnd = *walk++ != 0;262 tor->info.files[i].dnd = *walk++ == 't'; 263 263 264 264 free( buf ); -
trunk/libtransmission/torrent.c
r2316 r2317 974 974 975 975 /* close the tracker */ 976 fprintf(stderr,"sending a 'stopped' message to the tracker...\n");977 976 tr_trackerStopped( tor->tracker ); 978 977 tr_trackerPulse( tor->tracker, &peerCount, &peerCompact );
Note: See TracChangeset
for help on using the changeset viewer.