merged fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-05-11 17:10:57 +00:00
parent 4c588eba3f
commit c773e67c6a
1 changed files with 2 additions and 2 deletions

View File

@ -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());