Replace _snprintf too.

This commit is contained in:
Arkshine committed 2014-08-08 13:23:38 +02:00
1 parent b47aa6871d
commit 62eac5d91c
3 files changed
+21 -7

No files matched your search

+1 -1
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;
}