fix a blooper discovered by nano

This commit is contained in:
Bill Currie 2004-02-20 20:35:13 +00:00
parent f94b0b3800
commit f4a06f3a37

View file

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