report the error number for unknown errors

This commit is contained in:
Bill Currie 2001-11-09 07:22:34 +00:00
parent 4be5c86f36
commit 9a4a91bad4

View file

@ -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;
}