storage initialize fix

This commit is contained in:
Arvid Norberg 2011-01-19 09:19:26 +00:00
parent 557ddca693
commit 99d2c4eea8
1 changed files with 2 additions and 1 deletions

View File

@ -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;