Fix possible output truncation in test_dht
This commit is contained in:
parent
68a57218e7
commit
091dbd6494
|
@ -2610,7 +2610,7 @@ TORRENT_TEST(traversal_done)
|
||||||
TEST_ERROR(t.error_string);
|
TEST_ERROR(t.error_string);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
char tok[10];
|
char tok[11];
|
||||||
std::snprintf(tok, sizeof(tok), "%02d", i);
|
std::snprintf(tok, sizeof(tok), "%02d", i);
|
||||||
|
|
||||||
msg_args args;
|
msg_args args;
|
||||||
|
|
Loading…
Reference in New Issue