print paused state for checking and queued-for-checking torrents in client_test

This commit is contained in:
Arvid Norberg 2011-08-06 17:43:22 +00:00
parent 47cf5dd27c
commit 8f45fea7db
1 changed files with 4 additions and 1 deletions

View File

@ -1850,7 +1850,10 @@ int main(int argc, char* argv[])
else
{
snprintf(str, sizeof(str), "%-13s %s\n"
, state_str[s.state]
, (!s.paused && !s.auto_managed)?"[F] ":""
, (s.paused && !s.auto_managed)?"paused":
(s.paused && s.auto_managed)?"queued":
state_str[s.state]
, progress_bar(s.progress_ppm / 1000, terminal_width - 43 - 20, "35").c_str());
out += str;
}