mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 10:21:21 +00:00
report the error number for unknown errors
This commit is contained in:
parent
4be5c86f36
commit
9a4a91bad4
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ NET_GetPacket (void)
|
|||
#endif /* _WIN32 */
|
||||
if (err == EWOULDBLOCK)
|
||||
return false;
|
||||
Con_Printf ("NET_GetPacket: %s\n", strerror (err));
|
||||
Con_Printf ("NET_GetPacket: %d: %s\n", err, strerror (err));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue