mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 13:21:36 +00:00
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:
parent
b56789be74
commit
3a156266a4
1 changed files with 2 additions and 2 deletions
|
@ -641,7 +641,7 @@ qboolean Net_WriteUpstream(sv_t *qtv)
|
|||
if (qerrno)
|
||||
Sys_Printf(qtv->cluster, "Error: source socket error %i\n", qerrno);
|
||||
else
|
||||
Sys_Printf(qtv->cluster, "Error: server disconnected\n");
|
||||
Sys_Printf(qtv->cluster, "Error: server %s disconnected\n", qtv->server);
|
||||
qtv->drop = true;
|
||||
}
|
||||
return false;
|
||||
|
@ -823,7 +823,7 @@ qboolean Net_ReadStream(sv_t *qtv)
|
|||
else if (read)
|
||||
Sys_Printf(qtv->cluster, "Error: source socket error %i\n", qerrno);
|
||||
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)
|
||||
{
|
||||
closesocket(qtv->sourcesock);
|
||||
|
|
Loading…
Reference in a new issue