From e5098bcdcca2704c977fa613442b8fdd605a40f3 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 1 Oct 2007 06:00:17 +0000 Subject: [PATCH] returns proper torrent state for checking torrents --- src/torrent_handle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent_handle.cpp b/src/torrent_handle.cpp index ebef802a8..7a4a24470 100755 --- a/src/torrent_handle.cpp +++ b/src/torrent_handle.cpp @@ -363,7 +363,7 @@ namespace libtorrent aux::piece_checker_data* d = m_chk->find_torrent(m_info_hash); if (d != 0) { - torrent_status st; + torrent_status st = d->torrent_ptr->status(); if (d->processing) {