diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-03-25 21:36:09 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-03-25 21:36:09 +0000 |
commit | dac8a746a7f80b50834e750927335d8d1a00c1c1 (patch) | |
tree | 461e51086bf9daff9b03fdf6caf4513f19bff772 /code/botlib/be_aas_main.c | |
parent | 37e48fb6ad3a6081c6bf226021b2aa30ad09673c (diff) | |
download | ioquake3-aero-dac8a746a7f80b50834e750927335d8d1a00c1c1.tar.gz ioquake3-aero-dac8a746a7f80b50834e750927335d8d1a00c1c1.zip |
- Replace vsprintf function in bg_lib.c with vsnprintf implementation started by Patrick Powell.
- Remove all calls to vsprintf in the engine and gamecode and replace them with calls to vsnprintf.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1277 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/botlib/be_aas_main.c')
-rw-r--r-- | code/botlib/be_aas_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/botlib/be_aas_main.c b/code/botlib/be_aas_main.c index 2963ecd..0296b1a 100644 --- a/code/botlib/be_aas_main.c +++ b/code/botlib/be_aas_main.c @@ -60,7 +60,7 @@ void QDECL AAS_Error(char *fmt, ...) va_list arglist; va_start(arglist, fmt); - vsprintf(str, fmt, arglist); + Q_vsnprintf(str, sizeof(str), fmt, arglist); va_end(arglist); botimport.Print(PRT_FATAL, "%s", str); } //end of the function AAS_Error |