mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Use my_snprintf instead of snprintf
This commit is contained in:
parent
e9a9107f4f
commit
905996141d
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@ void var_set_string(const char* name, const char* value)
|
|||
void var_set_int(const char* name, int value)
|
||||
{
|
||||
char buf[21];
|
||||
snprintf(buf, sizeof(buf), "%d", value);
|
||||
my_snprintf(buf, sizeof(buf), "%d", value);
|
||||
var_set_string(name, buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue