Changeset 10194
- Timestamp:
- Feb 14, 2010, 3:28:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/announcer.c
r10193 r10194 297 297 } 298 298 tr_tracker_item; 299 300 static void 301 trackerItemCopyAttributes( tr_tracker_item * t, const tr_tracker_item * o ) 302 { 303 assert( t != o ); 304 assert( t != NULL ); 305 assert( o != NULL ); 306 307 t->seederCount = o->seederCount; 308 t->leecherCount = o->leecherCount; 309 t->downloadCount = o->downloadCount; 310 t->downloaderCount = o->downloaderCount; 311 t->id = o->id; 312 memcpy( t->key_param, o->key_param, sizeof( t->key_param ) ); 313 } 299 314 300 315 static void … … 848 863 t->currentTracker = item; 849 864 t->currentTrackerIndex = k; 865 trackerItemCopyAttributes( item, o->currentTracker ); 850 866 dbgmsg( t, "attributes copied to tier %d, tracker %d" 851 867 "from tier %d, tracker %d",
Note: See TracChangeset
for help on using the changeset viewer.