Changeset 5623
- Timestamp:
- Apr 15, 2008, 1:27:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/resume.c
r5622 r5623 153 153 { 154 154 tr_tordbg( tor, "Couldn't load DND flags. dnd list (%p) has %d children; torrent has %d files", 155 ( list ? list->val.l.count : -1 ), (int)n );155 list, ( list ? list->val.l.count : -1 ), (int)n ); 156 156 } 157 157 … … 261 261 m = tr_bencDictAddList( p, KEY_PROGRESS_MTIMES, n ); 262 262 for( i=0; i<n; ++i ) { 263 if( tr_torrentIsFileChecked( tor, i ) )263 if( !tr_torrentIsFileChecked( tor, i ) ) 264 264 mtimes[i] = ~(time_t)0; /* force a recheck */ 265 265 tr_bencListAddInt( m, mtimes[i] ); … … 304 304 tr_torrentSetFileChecked( tor, i, TRUE ); 305 305 else { 306 tr_tordbg( tor, "File #%d needs to be verified - times %lu and %lu don't match", t, curMTimes[i] );306 tr_tordbg( tor, "File #%d needs to be verified - times %lu and %lu don't match", i, t, curMTimes[i] ); 307 307 tr_torrentSetFileChecked( tor, i, FALSE ); 308 308 }
Note: See TracChangeset
for help on using the changeset viewer.