diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-09-30 15:55:07 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-09-30 15:55:07 +0000 |
commit | 189d75888f07709d8cd06d79a23b8c4c8815c60d (patch) | |
tree | 30f0a977588ef7e73e37d52db0704de2a70e4b3d /source/sv_main.c | |
parent | 859e34f1f5c95c3b2c6a95b57496f11bb970a2f3 (diff) |
Fixed "SZ_GetSpace: overflow" fatal error due to invalid send
buffer size used in NetchanNew_Transmit.
Implemented sizebuf_t tagging for debugging purposes.
Diffstat (limited to 'source/sv_main.c')
-rw-r--r-- | source/sv_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/sv_main.c b/source/sv_main.c index 21d2935..4361be8 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -870,7 +870,6 @@ static void SVC_DirectConnect( void ) { if( nctype == NETCHAN_NEW ) { buffer = SV_Malloc( MAX_MSGLEN ); SZ_Init( &newcl->datagram, buffer, MAX_MSGLEN ); - newcl->datagram.allowoverflow = qtrue; newcl->AddMessage = SV_NewClientAddMessage; newcl->WriteDatagram = SV_NewClientWriteDatagram; newcl->FinishFrame = SV_NewClientFinishFrame; |