* Use ChunkHandle instead of ChunkListNode*, this will include write

reference counter.

* Get errno message when chunks can't be allocated.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@556 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-09-09 16:12:29 +00:00
parent 8732e457fa
commit c347ccc439
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -56,6 +56,7 @@ public:
bool is_closed() const { return m_errno == ECONNRESET || m_errno == ECONNABORTED; }
static error_number current() { return errno; }
static void clear_global() { errno = 0; }
private:
int m_errno;