sprintf -> snprintf

vsprintf -> vsnprintf
This commit is contained in:
Yan Sweitzer 2000-05-15 08:59:12 +00:00
parent 1bb513d584
commit 1efb92f899
29 changed files with 168 additions and 147 deletions

View file

@ -33,8 +33,8 @@ void SV_Error (char *error, ...)
va_list argptr;
static char string[1024];
va_start (argptr,error);
vsprintf (string,error,argptr);
va_start (argptr, error);
vsnprintf (string, sizeof(string), error, argptr);
va_end (argptr);
Sys_Error ("%s\n",string);