From b6b4e0d051e7bf671952bf08ec7d28d6c3aee64f Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 24 Jun 2009 17:05:14 +0000 Subject: [PATCH] fix wpath build issue --- src/storage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage.cpp b/src/storage.cpp index 37e8b35b6..08775b7c6 100644 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -669,13 +669,13 @@ namespace libtorrent #if BOOST_VERSION >= 103500 catch (boost::system::system_error& e) { - set_error(f, e.code()); + set_error(m_save_path / i->path, e.code()); return false; } #else 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; } #endif // BOOST_VERSION