mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-14 13:16:17 +00:00
* Added a workaround for the vfat truncate bug. This blocks for a
while, so either it needs some additional hack or make it a configure option. * Trigger a storage_error when files fail to resize. * Fixed a bug in the priority code that caused it to skip some ranges. * Added a check to make sure a CurlGet object is closed once it is finished. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@602 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -47,6 +47,8 @@ public:
|
||||
error_number() : m_errno(0) {}
|
||||
error_number(int e) : m_errno(e) {}
|
||||
|
||||
bool is_valid() const { return m_errno != 0; }
|
||||
|
||||
int value() const { return m_errno; }
|
||||
const char* c_str() const { return strerror(m_errno); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user