More verbose error messages.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2770 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-10-29 20:07:13 +00:00
parent d628214600
commit ff17d664ce

View file

@ -1753,14 +1753,14 @@ printf("%i, %s\n", qtv->buffersize, qtv->buffer);
}
else if (!strcmp(start, "PERROR"))
{
Sys_Printf(qtv->cluster, "\nQTV server error: %s\n\n", colon);
Sys_Printf(qtv->cluster, "\nServer PERROR from %s: %s\n\n", qtv->server, colon);
qtv->drop = true;
qtv->buffersize = 0;
return;
}
else if (!strcmp(start, "TERROR") || !strcmp(start, "ERROR"))
{ //we don't support compression, we didn't ask for it.
Sys_Printf(qtv->cluster, "\nQTV server error: %s\n\n", colon);
Sys_Printf(qtv->cluster, "\nServer TERROR from %s: %s\n\n", qtv->server, colon);
qtv->buffersize = 0;
if (qtv->disconnectwhennooneiswatching)