Changeset 9756
- Timestamp:
- Dec 14, 2009, 5:17:05 PM (12 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/announcer.c
r9710 r9756 1274 1274 { 1275 1275 tier->lastScrapeTime = now; 1276 tier->lastScrapeSucceeded = 1; 1276 1277 tier->scrapeAt = now + tier->scrapeIntervalSec; 1277 1278 } -
trunk/libtransmission/web.c
r9754 r9756 141 141 if( session && session->web ) 142 142 { 143 CURLMcode mcode;144 143 CURL * e = curl_easy_init( ); 145 144 struct tr_web * web = session->web; … … 187 186 if( task->range ) 188 187 curl_easy_setopt( e, CURLOPT_RANGE, task->range ); 189 else /* don't set encoding on webseeds; it messes up binary data */ 190 curl_easy_setopt( e, CURLOPT_ENCODING, "" ); 191 192 mcode = curl_multi_add_handle( web->multi, e ); 193 ++web->taskCount; 188 189 if( curl_multi_add_handle( web->multi, e ) == CURLM_OK ) 190 ++web->taskCount; 194 191 } 195 192 }
Note: See TracChangeset
for help on using the changeset viewer.