From a2e24faa0192790b47ba15fbfc4ee0ed5dc8014e Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 21 Aug 2011 02:04:14 +0000 Subject: [PATCH] fix logging build with no encryption --- src/torrent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/torrent.cpp b/src/torrent.cpp index cfd192952..462c12833 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -244,7 +244,9 @@ namespace libtorrent PRINT_OFFSETOF(torrent, m_resume_entry) PRINT_OFFSETOF(torrent, m_name) PRINT_OFFSETOF(torrent, m_storage_constructor) +#ifndef TORRENT_DISABLE_ENCRYPTION PRINT_OFFSETOF(torrent, m_obfuscated_hash) +#endif PRINT_OFFSETOF(torrent, m_ratio) PRINT_OFFSETOF(torrent, m_available_free_upload) PRINT_OFFSETOF(torrent, m_average_piece_time)