1
0
Fork 0
forked from fte/fteqw

More verbose error messages.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2781 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-11-09 17:34:51 +00:00
parent b56789be74
commit 3a156266a4

View file

@ -641,7 +641,7 @@ qboolean Net_WriteUpstream(sv_t *qtv)
if (qerrno) if (qerrno)
Sys_Printf(qtv->cluster, "Error: source socket error %i\n", qerrno); Sys_Printf(qtv->cluster, "Error: source socket error %i\n", qerrno);
else else
Sys_Printf(qtv->cluster, "Error: server disconnected\n"); Sys_Printf(qtv->cluster, "Error: server %s disconnected\n", qtv->server);
qtv->drop = true; qtv->drop = true;
} }
return false; return false;
@ -823,7 +823,7 @@ qboolean Net_ReadStream(sv_t *qtv)
else if (read) else if (read)
Sys_Printf(qtv->cluster, "Error: source socket error %i\n", qerrno); Sys_Printf(qtv->cluster, "Error: source socket error %i\n", qerrno);
else else
Sys_Printf(qtv->cluster, "Error: server disconnected\n"); Sys_Printf(qtv->cluster, "Error: server %s disconnected\n", qtv->server);
if (qtv->sourcesock != INVALID_SOCKET) if (qtv->sourcesock != INVALID_SOCKET)
{ {
closesocket(qtv->sourcesock); closesocket(qtv->sourcesock);