Changeset 1001 for trunk/libtransmission/tracker.c
- Timestamp:
- Oct 13, 2006, 7:42:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/tracker.c
r937 r1001 237 237 uint64_t down; 238 238 uint64_t up; 239 char * start; 239 240 240 241 down = tor->downloadedCur; … … 264 265 } 265 266 267 if( NULL == strchr( inf->trackerAnnounce, '?' ) ) 268 { 269 start = "?"; 270 } 271 else 272 { 273 start = "&"; 274 } 275 266 276 left = tr_cpLeftBytes( tor->completion ); 267 277 268 278 return tr_httpClient( TR_HTTP_GET, inf->trackerAddress, 269 279 inf->trackerPort, 270 "%s ?"280 "%s%s" 271 281 "info_hash=%s&" 272 282 "peer_id=%s&" … … 279 289 "key=%s" 280 290 "%s", 281 inf->trackerAnnounce, tor->hashString, tc->id,291 inf->trackerAnnounce, start, tor->hashString, tc->id, 282 292 tc->bindPort, up, down, left, tor->key, event ); 283 293 }
Note: See TracChangeset
for help on using the changeset viewer.