From df2389219a7e6f393922c0a8462d725dbdc4e90c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 15 May 2008 17:42:28 +0000 Subject: [PATCH] fixed typo in torrent_info --- src/torrent_info.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/torrent_info.cpp b/src/torrent_info.cpp index 750183c72..d76160d66 100755 --- a/src/torrent_info.cpp +++ b/src/torrent_info.cpp @@ -579,8 +579,8 @@ namespace libtorrent m_comment = torrent_file.dict_find_string_value("comment.utf-8"); if (m_comment.empty()) m_comment = torrent_file.dict_find_string_value("comment"); - m_comment = torrent_file.dict_find_string_value("created by.utf-8"); - if (m_comment.empty()) m_comment = torrent_file.dict_find_string_value("created by"); + m_created_by = torrent_file.dict_find_string_value("created by.utf-8"); + if (m_created_by.empty()) m_comment = torrent_file.dict_find_string_value("created by"); lazy_entry const* info = torrent_file.dict_find_dict("info"); if (info == 0)