From a26e7133cafcd7c4f0bf6077051319a15d588363 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 10 Jan 2007 17:39:24 +0000 Subject: [PATCH] correction of previous bugfix --- examples/client_test.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 7573d395d..6d7dedd3e 100755 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -907,14 +907,11 @@ int main(int ac, char* av[]) for (int j = 0; j < i->blocks_in_piece; ++j) { int index = peer_index(i->peer[j], peers); - static char str[] = "+"; + char str[] = "+"; bool currently_downloading = false; if (index >= 0) { str[0] = (index < 10)?'0' + index:'A' + index - 10; - } - else - { currently_downloading = peers[index].downloading_piece_index == i->piece_index && peers[index].downloading_block_index == j; }