From c773e67c6a2dc941d08d752c8aff04e43c29a2fe Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 11 May 2013 17:10:57 +0000 Subject: [PATCH] merged fix from RC_0_16 --- test/test_primitives.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_primitives.cpp b/test/test_primitives.cpp index a3f7e7ce2..21632650e 100644 --- a/test/test_primitives.cpp +++ b/test/test_primitives.cpp @@ -454,6 +454,8 @@ int test_main() TEST_CHECK(ret == 1); #endif + lazy_entry ent; + #ifndef TORRENT_DISABLE_DHT // test verify_message const static key_desc_t msg_desc[] = { @@ -468,8 +470,6 @@ int test_main() lazy_entry const* msg_keys[7]; - lazy_entry ent; - char const test_msg[] = "d1:A4:test1:Bd2:B15:test22:B25:test3ee"; lazy_bdecode(test_msg, test_msg + sizeof(test_msg)-1, ent, ec); fprintf(stderr, "%s\n", print_entry(ent).c_str());