Be a bit less insulting about servers with longer line lengths.
This commit is contained in:
parent
899b4cd3eb
commit
8239fbd041
@ -362,7 +362,7 @@ server_read (GIOChannel *source, GIOCondition condition, server *serv)
|
|||||||
serv->linebuf[serv->pos] = lbuf[i];
|
serv->linebuf[serv->pos] = lbuf[i];
|
||||||
if (serv->pos >= (sizeof (serv->linebuf) - 1))
|
if (serv->pos >= (sizeof (serv->linebuf) - 1))
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"*** HEXCHAT WARNING: Buffer overflow - shit server!\n");
|
"*** HEXCHAT WARNING: Buffer overflow - non-compliant server!\n");
|
||||||
else
|
else
|
||||||
serv->pos++;
|
serv->pos++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user