From ae8def93203d724403b161e39aacfada3ff9fcef Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 7 Aug 2007 08:43:28 +0000 Subject: [PATCH] fix storage oops --- libtorrent/src/storage.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libtorrent/src/storage.cpp b/libtorrent/src/storage.cpp index 0590d6c67..fc18377c0 100755 --- a/libtorrent/src/storage.cpp +++ b/libtorrent/src/storage.cpp @@ -981,7 +981,7 @@ namespace libtorrent return true; #endif -#if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) +#if defined(__APPLE__) || defined(__linux__) // find the last existing directory of the save path fs::path query_path = p; while (!query_path.empty() && !exists(query_path)) @@ -1059,11 +1059,7 @@ namespace libtorrent #endif // TODO: POSIX implementation -#if defined(__FreeBSD__) - return true; -#else - return false; -#endif + return false; } // -- piece_manager -----------------------------------------------------