mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 05:22:55 +00:00
Initialize string instead of incorrect copying using sprintf.
This commit is contained in:
parent
60bd3121fb
commit
8b62867643
@ -527,8 +527,7 @@ void CVoiceStatus::UpdateServerState(bool bForce)
|
||||
}
|
||||
}
|
||||
|
||||
char str[2048];
|
||||
sprintf(str, "vban");
|
||||
char str[2048] = "vban";
|
||||
bool bChange = false;
|
||||
|
||||
for(unsigned long dw=0; dw < VOICE_MAX_PLAYERS_DW; dw++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user