Merge pull request #301 from josh33901/master

Fix bug in vararg call uncaught by g++
This commit is contained in:
nullifiedcat 2017-09-03 16:01:27 +03:00 committed by GitHub
commit f166457242

View File

@ -86,7 +86,7 @@ void processing_thread() {
unsigned userid = strtoul(it.key().substr(5).c_str(), nullptr, 10);
const auto& v = it.value();
if (not v.is_object()) {
logging::Info("Data for %u (%s) is not an object!", userid, it.key());
logging::Info("Data for %u (%s) is not an object!", userid, it.key().c_str());
continue;
}
std::string name = v.at("name");