fix old typo in test

This commit is contained in:
Arvid Norberg 2015-03-09 01:31:47 +00:00
parent 14e97b8151
commit f001876700
1 changed files with 2 additions and 1 deletions

View File

@ -478,7 +478,8 @@ void test_dont_have()
lazy_entry e;
error_code ec;
lazy_bdecode(recv_buffer + 2, recv_buffer + len - 2, e, ec);
int ret = lazy_bdecode(recv_buffer + 2, recv_buffer + len, e, ec);
TEST_EQUAL(ret, 0);
printf("extension handshake: %s\n", print_entry(e).c_str());
lazy_entry const* m = e.dict_find_dict("m");