mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix a blooper discovered by nano
This commit is contained in:
parent
f94b0b3800
commit
f4a06f3a37
1 changed files with 1 additions and 1 deletions
|
@ -1946,7 +1946,7 @@ OutofBandPrintf (netadr_t where, const char *fmt, ...)
|
||||||
send[3] = 0xff;
|
send[3] = 0xff;
|
||||||
send[4] = A2C_PRINT;
|
send[4] = A2C_PRINT;
|
||||||
va_start (argptr, fmt);
|
va_start (argptr, fmt);
|
||||||
vsnprintf (send + 5, sizeof (send - 5), fmt, argptr);
|
vsnprintf (send + 5, sizeof (send) - 5, fmt, argptr);
|
||||||
va_end (argptr);
|
va_end (argptr);
|
||||||
|
|
||||||
Netchan_SendPacket (strlen (send) + 1, send, where);
|
Netchan_SendPacket (strlen (send) + 1, send, where);
|
||||||
|
|
Loading…
Reference in a new issue