Changeset 3226
- Timestamp:
- Sep 28, 2007, 4:14:19 PM (15 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/peer-msgs.c
r3217 r3226 1111 1111 **/ 1112 1112 1113 #define MAX_DIFFS 50 1113 /* some peers give us error messages if we send 1114 more than this many peers in a single pex message */ 1115 #define MAX_PEX_DIFFS 50 1114 1116 1115 1117 typedef struct … … 1130 1132 PexDiffs * diffs = (PexDiffs *) userData; 1131 1133 tr_pex * pex = (tr_pex *) vpex; 1132 if( diffs->diffCount < MAX_ DIFFS )1134 if( diffs->diffCount < MAX_PEX_DIFFS ) 1133 1135 { 1134 1136 diffs->diffCount++; … … 1143 1145 PexDiffs * diffs = (PexDiffs *) userData; 1144 1146 tr_pex * pex = (tr_pex *) vpex; 1145 if( diffs->diffCount < MAX_ DIFFS )1147 if( diffs->diffCount < MAX_PEX_DIFFS ) 1146 1148 { 1147 1149 diffs->diffCount++; … … 1155 1157 PexDiffs * diffs = (PexDiffs *) userData; 1156 1158 tr_pex * pex = (tr_pex *) vpex; 1157 if( diffs->diffCount < MAX_ DIFFS )1159 if( diffs->diffCount < MAX_PEX_DIFFS ) 1158 1160 { 1159 1161 diffs->diffCount++; -
trunk/libtransmission/tracker.c
r3201 r3226 621 621 t->scrapeIntervalMsec = tmp->val.i * 1000; 622 622 623 assert( tr_ptrArrayFindSorted(t->scraping,tor,torrentCompare) ); /* FIXME This is the line that crashes for John_Clay */624 623 tr_ptrArrayRemoveSorted( t->scraping, tor, torrentCompare ); 625 624 626 assert( !tor->scrapeTimer );625 tr_timerFree( &tor->scrapeTimer ); 627 626 tor->scrapeTimer = tr_timerNew( t->handle, onTorrentScrapeNow, tor, t->scrapeIntervalMsec ); 628 627 tr_dbg( "Torrent '%s' scrape successful."
Note: See TracChangeset
for help on using the changeset viewer.