Reduce line line length

If clients have a maximum banner size, this will help to keep them
around for longer.
This commit is contained in:
Christopher Wellons 2019-02-03 08:08:27 -05:00
parent 1f1ce4e26d
commit 81046bcdec

View File

@ -141,7 +141,7 @@ check(int r)
static int
randline(char *line)
{
int len = 2 + rand() % 251;
int len = 3 + rand() % 61;
for (int i = 0; i < len - 2; i++)
line[i] = 32 + rand() % 95;
line[len - 2] = 13;