- Added textual descriptions of the zlib errors.
SVN r3689 (trunk)
This commit is contained in:
parent
c197d0687c
commit
08272a29ad
6 changed files with 39 additions and 5 deletions
|
|
@ -62,7 +62,7 @@
|
|||
#include "templates.h"
|
||||
#include "c_console.h"
|
||||
#include "st_start.h"
|
||||
|
||||
#include "m_misc.h"
|
||||
#include "doomstat.h"
|
||||
|
||||
#include "i_net.h"
|
||||
|
|
@ -303,7 +303,7 @@ void PacketGet (void)
|
|||
// Printf("recv %d/%lu\n", c, msgsize + 1);
|
||||
if (err != Z_OK)
|
||||
{
|
||||
Printf("Net decompression failed (zlib error %d)\n", err);
|
||||
Printf("Net decompression failed (zlib error %s)\n", M_ZLibError(err));
|
||||
// Pretend no packet
|
||||
doomcom.remotenode = -1;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue