* Moved Listen to ConnectionManager and use a single port rather than

cache it in each download.

* Set classic locale on various streams.

* Added ChunkStatistic class that will keep track of the number of
each chunk, and how many seeders there are.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@654 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-03-21 20:37:00 +00:00
parent 17d66c4a2f
commit 14475fd4c1
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ namespace core {
size_t
curl_get_receive_write(void* data, size_t size, size_t nmemb, void* handle) {
if (!((CurlGet*)handle)->stream()->write((char*)data, size * nmemb).fail())
if (!((CurlGet*)handle)->stream()->write((const char*)data, size * nmemb).fail())
return size * nmemb;
else
return 0;