From f4a06f3a37a0d98ef8148edb756378c42624f5b6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 20 Feb 2004 20:35:13 +0000 Subject: [PATCH] fix a blooper discovered by nano --- qw/source/sv_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qw/source/sv_user.c b/qw/source/sv_user.c index e62ef5151..1f16832c5 100644 --- a/qw/source/sv_user.c +++ b/qw/source/sv_user.c @@ -1946,7 +1946,7 @@ OutofBandPrintf (netadr_t where, const char *fmt, ...) send[3] = 0xff; send[4] = A2C_PRINT; va_start (argptr, fmt); - vsnprintf (send + 5, sizeof (send - 5), fmt, argptr); + vsnprintf (send + 5, sizeof (send) - 5, fmt, argptr); va_end (argptr); Netchan_SendPacket (strlen (send) + 1, send, where);