Replace _snprintf too.

This commit is contained in:
Arkshine
2014-08-08 13:22:13 +02:00
parent b47aa6871d
commit 62eac5d91c
3 changed files with 21 additions and 7 deletions

View File

@ -362,7 +362,7 @@ bool NVault::GetValue(const char *key, time_t &stamp, char buffer[], size_t len)
sVal = m_Hash.Retrieve(sKey, st);
stamp = st;
_snprintf(buffer, len, "%s", sVal.c_str());
UTIL_Format(buffer, len, "%s", sVal.c_str());
return true;
}