fix wpath build issue

This commit is contained in:
Arvid Norberg 2009-06-24 17:05:14 +00:00
parent 7eb7dfdf17
commit b6b4e0d051
1 changed files with 2 additions and 2 deletions

View File

@ -669,13 +669,13 @@ namespace libtorrent
#if BOOST_VERSION >= 103500 #if BOOST_VERSION >= 103500
catch (boost::system::system_error& e) catch (boost::system::system_error& e)
{ {
set_error(f, e.code()); set_error(m_save_path / i->path, e.code());
return false; return false;
} }
#else #else
catch (boost::filesystem::filesystem_error& e) catch (boost::filesystem::filesystem_error& e)
{ {
set_error(f, error_code(e.system_error(), get_system_category())); set_error(m_save_path / i->path, error_code(e.system_error(), get_system_category()));
return false; return false;
} }
#endif // BOOST_VERSION #endif // BOOST_VERSION