This commit is contained in:
arvidn 2017-03-15 07:30:30 -04:00
parent 6f650aa7d9
commit 9995e25be7
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ TORRENT_TEST(tracker_ipv6_argument)
TEST_CHECK(pos != std::string::npos);
got_ipv6 = pos != std::string::npos;
// make sure the IPv6 argument is url encoded
TEST_CHECK(req.substr(pos + 6, req.find_first_of(pos + 6, '&'))
TEST_CHECK(req.substr(pos + 6, req.find_first_of('&', pos + 6))
== "ffff%3a%3a1337");
return sim::send_response(200, "OK", 11) + "d5:peers0:e";
}