Fix possible output truncation in test_dht

This commit is contained in:
FranciscoPombal 2020-02-22 00:43:31 +00:00 committed by Arvid Norberg
parent 68a57218e7
commit 091dbd6494
1 changed files with 1 additions and 1 deletions

View File

@ -2610,7 +2610,7 @@ TORRENT_TEST(traversal_done)
TEST_ERROR(t.error_string);
continue;
}
char tok[10];
char tok[11];
std::snprintf(tok, sizeof(tok), "%02d", i);
msg_args args;