From 4aac2e2129f91cc77c32b70490468c640d4e2854 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Oct 2017 19:51:13 +0300 Subject: Fix code style. --- src/utils/stringutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 4f3a156cc..74edefba0 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -99,7 +99,7 @@ const char *ipToString(const uint32_t address) std::string strprintf(const char *const format, ...) { char buf[257]; - va_list(args); + va_list args; va_start(args, format); size_t nb = vsnprintf(buf, 256, format, args); buf[256] = 0; -- cgit v1.2.3-70-g09d2