Changeset 5619
- Timestamp:
- Apr 14, 2008, 7:52:51 PM (14 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/port-forwarding.c
r5600 r5619 58 58 tr_upnp * upnp; 59 59 tr_natpmp * natpmp; 60 61 60 }; 62 61 -
trunk/libtransmission/resume.c
r5614 r5619 120 120 tr_info * inf = &tor->info; 121 121 const tr_file_index_t n = inf->fileCount; 122 tr_benc * list ;122 tr_benc * list = NULL; 123 123 124 124 if( tr_bencDictFindList( dict, KEY_DND, &list ) … … 137 137 } 138 138 139 if( dndCount ) 139 if( dndCount ) { 140 140 tr_torrentInitFileDLs ( tor, dnd, dndCount, FALSE ); 141 if( dlCount ) 141 tr_tordbg( tor, "Resume file found %d files listed as dnd", dndCount ); 142 } 143 if( dlCount ) { 142 144 tr_torrentInitFileDLs ( tor, dl, dlCount, TRUE ); 145 tr_tordbg( tor, "Resume file found %d files marked for download", dlCount ); 146 } 143 147 144 148 tr_free( dnd ); 145 149 tr_free( dl ); 146 150 ret = TR_FR_PRIORITY; 151 } 152 else 153 { 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 ); 147 156 } 148 157
Note: See TracChangeset
for help on using the changeset viewer.