mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-19 17:01:46 +00:00
send the correct number of bytes
This commit is contained in:
parent
cb7ecd9f26
commit
82975dfe1f
1 changed files with 1 additions and 2 deletions
|
@ -92,8 +92,7 @@ SV_FlushRedirect (void)
|
|||
while (count) {
|
||||
bytes = min (count, sizeof (send) - 5);
|
||||
memcpy (send + 5, p, bytes);
|
||||
send[5 + bytes] = 0;
|
||||
Netchan_SendPacket (bytes + 1, send, net_from);
|
||||
Netchan_SendPacket (bytes + 5, send, net_from);
|
||||
p += bytes;
|
||||
count -= bytes;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue