forked from premiere/premiere-libtorrent
fixed error reporting when fallocate fails
This commit is contained in:
parent
bd1f0726ce
commit
7be0604877
|
@ -52,6 +52,7 @@
|
|||
* added more detailed instrumentation of the disk I/O thread
|
||||
|
||||
|
||||
* fixed error reporting when fallocate fails
|
||||
* deprecate support for separate proxies for separate kinds of connections
|
||||
|
||||
0.15.4 release
|
||||
|
|
|
@ -1572,7 +1572,7 @@ namespace libtorrent
|
|||
// and report it.
|
||||
if (errno != ENOSYS)
|
||||
{
|
||||
ec.assign(ret, get_posix_category());
|
||||
ec.assign(errno, get_posix_category());
|
||||
return false;
|
||||
}
|
||||
#endif // TORRENT_LINUX
|
||||
|
|
Loading…
Reference in New Issue