Changeset 9556 for trunk/libtransmission/torrent.c
- Timestamp:
- Nov 24, 2009, 5:10:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r9550 r9556 41 41 #include "session.h" 42 42 #include "torrent.h" 43 #include "torrent-magnet.h" 43 44 #include "trevent.h" 44 45 #include "utils.h" … … 960 961 961 962 s->percentComplete = tr_cpPercentComplete ( &tor->completion ); 963 s->metadataPercentComplete = tr_torrentGetMetadataPercent( tor ); 962 964 963 965 s->percentDone = tr_cpPercentDone ( &tor->completion ); … … 1469 1471 assert( tr_isTorrent( tor ) ); 1470 1472 1471 if( tor->isDirty ) { 1473 if( tor->isDirty && tr_torrentHasMetadata( tor ) ) 1474 { 1472 1475 tor->isDirty = FALSE; 1473 1476 tr_torrentSaveResume( tor );
Note: See TracChangeset
for help on using the changeset viewer.