From 96bc9221b7268e8d7366c645324757d04acab93f Mon Sep 17 00:00:00 2001 From: F1ssi0N Date: Sun, 3 Sep 2017 13:38:29 +0100 Subject: [PATCH] Fix bug in vararg call uncaught by g++ --- src/backpacktf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backpacktf.cpp b/src/backpacktf.cpp index 9f41faf8..fae5e8dd 100644 --- a/src/backpacktf.cpp +++ b/src/backpacktf.cpp @@ -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");