forked from premiere/premiere-libtorrent
storage initialize fix
This commit is contained in:
parent
557ddca693
commit
99d2c4eea8
|
@ -539,7 +539,8 @@ namespace libtorrent
|
|||
|
||||
file_status s;
|
||||
stat_file(file_path, &s, ec);
|
||||
if (ec && ec != boost::system::errc::no_such_file_or_directory)
|
||||
if (ec && ec != boost::system::errc::no_such_file_or_directory
|
||||
&& ec != boost::system::errc::not_a_directory)
|
||||
{
|
||||
set_error(file_path, ec);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue