Skip to content

Commit

Permalink
xrGame: replace sscanf_s to sscanf
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Sep 17, 2018
1 parent 5fb4803 commit bf1dac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/game_sv_mp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ void game_sv_mp::OnVoteStart(LPCSTR VoteCommand, ClientID sender)
{
string256 LevelName;
string256 LevelVersion;
sscanf_s(CommandParams, "%255s %255s", LevelName, sizeof(LevelName), LevelVersion, sizeof(LevelVersion));
sscanf(CommandParams, "%255s %255s", LevelName, LevelVersion);
#ifdef DEBUG
Msg("--- Starting vote for changing level to: %s[%s]", LevelName, LevelVersion);
#endif // #ifdef DEBUG
Expand Down

0 comments on commit bf1dac9

Please sign in to comment.