mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-14 13:16:17 +00:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user